summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2009-10-31 11:08:02 +0000
committerMichał Górny <mgorny@gentoo.org>2009-10-31 11:08:02 +0000
commit782637e3a6749dc148ac85d8f9f1d06b8802b0c6 (patch)
tree0190d45177bda7f4b6d0ada6da040c431c0b5e23 /app-arch
parentsys-kernel/ccs-sources: Version bumped. (diff)
downloadsunrise-782637e3a6749dc148ac85d8f9f1d06b8802b0c6.tar.gz
sunrise-782637e3a6749dc148ac85d8f9f1d06b8802b0c6.tar.bz2
sunrise-782637e3a6749dc148ac85d8f9f1d06b8802b0c6.zip
app-arch/zpaq: Version bump.
svn path=/sunrise/; revision=9443
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/zpaq/ChangeLog4
-rw-r--r--app-arch/zpaq/Manifest8
-rw-r--r--app-arch/zpaq/metadata.xml3
-rw-r--r--app-arch/zpaq/zpaq-1.09.ebuild (renamed from app-arch/zpaq/zpaq-1.04.ebuild)25
4 files changed, 14 insertions, 26 deletions
diff --git a/app-arch/zpaq/ChangeLog b/app-arch/zpaq/ChangeLog
index 5101d87f5..93e249d24 100644
--- a/app-arch/zpaq/ChangeLog
+++ b/app-arch/zpaq/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 31 Oct 2009; Michał Górny (sedzimir) <gentoo@mgorny.alt.pl>
+ -zpaq-1.04.ebuild, +zpaq-1.09.ebuild, metadata.xml:
+ Version bump.
+
20 Sep 2009; Michał Górny (sedzimir) <gentoo@mgorny.alt.pl>
-zpaq-1.03a.ebuild, +zpaq-1.04.ebuild:
Version bump.
diff --git a/app-arch/zpaq/Manifest b/app-arch/zpaq/Manifest
index 8903f29d6..c6cb97ea8 100644
--- a/app-arch/zpaq/Manifest
+++ b/app-arch/zpaq/Manifest
@@ -1,4 +1,4 @@
-DIST zpaq104.zip 282319 RMD160 ab5506841b7a221a02943139bc1068be95ad6bcb SHA1 2d2328f35623303e89ab49cbb9c15892dbc59ba3 SHA256 1351ee190cc8ce0d1438adb3a94ab2cf882ad2b7e92c534250f7c5bf1bc1d79f
-EBUILD zpaq-1.04.ebuild 1805 RMD160 b0030e5fc0e4fc0c4b0fd688a42009fb89ec3858 SHA1 f1da2e6cc96182e25d8ccf77bb2f70c86a47e40f SHA256 e861c3676ce95f9c7afb94415bce4bc8ad8717dbbd83afa79d2adaa7a0665284
-MISC ChangeLog 546 RMD160 d74b484b887bd4e3b75ac083a56ddcd81e0ce744 SHA1 e08eb77d1f21048f2d11876856ceb5da56822026 SHA256 a65546a99bb749e2453d01357b12d232e96b57efdc44edcc5eef85c948b95bc8
-MISC metadata.xml 262 RMD160 64951ca639702aa31b3e4d358978702060b25740 SHA1 b50842ac8bb710e9e04e21c3ef2c6fd6cbaef4db SHA256 1855a3b4e8fb1583a58be48d0341c975d52d7dca8a4ca71d1285ef7a0d577e08
+DIST zpaq109.zip 94431 RMD160 5176503996b530f58d4a468f9b954567109f3788 SHA1 7c175595a0187a10c08ddc06f1857622db06978c SHA256 97a25847ecb01f12c21c4b9edae305b0622bb48625cc1a3d5b2cfb9e66591576
+EBUILD zpaq-1.09.ebuild 1369 RMD160 8cf32fc9cef0b0f0fcfe2a0c7bfc3393d9b4a5e7 SHA1 827aeee5399ddbe2a6c6d3a7205817c8b1864d16 SHA256 27d93e6a6488cc38f3999195b2f4fd3e4aa0b06743d9f7d2d789d49f854dcc4e
+MISC ChangeLog 681 RMD160 adbcc81348326560cd87aa9055b4c83756dac843 SHA1 4caa2b156abe540ddcb6e5afd5ec625c51ffe7fe SHA256 cdb71b1363f908381246e726beb2da1e119bd2c8e2cb3cf94a46688138c8cc7f
+MISC metadata.xml 171 RMD160 ed284df01c230fc7990a6b5888b39166d23f29ba SHA1 f3d64a69044b710e23fb874b3ee4cd338858c8b4 SHA256 a7b30fbacd0e4c312c07a3efac112a3794c81d134442d8104325734d03425adf
diff --git a/app-arch/zpaq/metadata.xml b/app-arch/zpaq/metadata.xml
index 98560ab64..6f1d493c5 100644
--- a/app-arch/zpaq/metadata.xml
+++ b/app-arch/zpaq/metadata.xml
@@ -2,7 +2,4 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>maintainer-wanted</herd>
- <use>
- <flag name='doc'>Install ZPAQ specification along with compressor.</flag>
- </use>
</pkgmetadata>
diff --git a/app-arch/zpaq/zpaq-1.04.ebuild b/app-arch/zpaq/zpaq-1.09.ebuild
index 55ea6bdd9..5289cdb84 100644
--- a/app-arch/zpaq/zpaq-1.04.ebuild
+++ b/app-arch/zpaq/zpaq-1.09.ebuild
@@ -12,30 +12,22 @@ SRC_URI="http://mattmahoney.net/dc/${MY_P}.zip"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="doc"
+IUSE=""
src_compile() {
# Upstream doesn't provide any Makefile
- "$(tc-getCXX)" ${CXXFLAGS} zpaq104.cpp -o zpaq || die 'compiling zpaq failed'
- "$(tc-getCXX)" ${CXXFLAGS} unzpaq103.cpp -o unzpaq || die 'compiling unzpaq failed'
+ # -DOPT is broken (at least) on Linux
+ "$(tc-getCXX)" ${CXXFLAGS} -DNDEBUG zpaq.cpp -o zpaq || die 'compiling zpaq failed'
+ "$(tc-getCXX)" ${CXXFLAGS} lzppre.cpp -o zpaq-lzppre || die 'compiling lzppre failed'
- # SFX part is upstream-broken
-# "$(tc-getCXX)" ${CXXFLAGS} zpaqsfx.cpp -o zpaqsfx || die 'compiling zpaqsfx failed'
-
-# cat zpaqsfx.tag >> zpaqsfx || die 'appending tag to zpaqsfx failed'
+ sed -e 's/lzppre/zpaq-&/' -i *.cfg || die 'sed failed'
}
src_install() {
- dobin zpaq unzpaq || die 'dobin failed'
+ dobin zpaq zpaq-lzppre || die 'dobin failed'
dodoc readme.txt || die 'dodoc failed'
- if use doc; then
- dodoc zpaq100.pdf || die 'dodoc failed'
- fi
-
-# exeinto /usr/$(get_libdir)/zpaq
-# doexe zpaqsfx || die 'doexe failed'
# These are more like compression profiles, so install them in /usr/share
insinto /usr/share/zpaq
@@ -50,9 +42,4 @@ pkg_postinst() {
elog "We install few default configs in /usr/share/zpaq to start with. They can"
elog "be used like that:"
elog " zpaq c/usr/share/zpaq/max.cfg out.zpaq files"
-# elog
-# elog "zpaq SFX stub is installed in /usr/$(get_libdir)/zpaq. You can use it"
-# elog "to create SFX archives like that:"
-# elog " cp /usr/$(get_libdir)/zpaq/zpaqsfx sfxarchive
-# elog " zpaq c sfxarchive ..."
}