summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-08-28 22:06:20 +0200
committerMichał Górny <mgorny@gentoo.org>2017-08-28 22:10:16 +0200
commitead3987ba785c7c99b793033721a88949708ebe2 (patch)
treecd18cfd9fb55a058ff7f48dc7e63c1a723ef4bb4 /app-arch
parentx11-themes/verne-backgrounds: drop old due to EAPI3 removal (diff)
downloadgentoo-ead3987ba785c7c99b793033721a88949708ebe2.tar.gz
gentoo-ead3987ba785c7c99b793033721a88949708ebe2.tar.bz2
gentoo-ead3987ba785c7c99b793033721a88949708ebe2.zip
app-arch/lzop: Bump to 1.04
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/lzop/Manifest1
-rw-r--r--app-arch/lzop/lzop-1.04.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/app-arch/lzop/Manifest b/app-arch/lzop/Manifest
index 333af0d78028..d2190f777b0d 100644
--- a/app-arch/lzop/Manifest
+++ b/app-arch/lzop/Manifest
@@ -1 +1,2 @@
DIST lzop-1.03.tar.gz 370775 SHA256 c1425b8c77d49f5a679d5a126c90ea6ad99585a55e335a613cae59e909dbb2c9 SHA512 a7a46793e060690f7da3e9dcae8e19f9c3633b84bc6e4a9a7fbf7791361fc7795e00f1d820978b20df8731c165b37244f11203a2936640688e4ade0cc2f5f3d7 WHIRLPOOL 3590d424447290aeb102a7edc7baf2e3ca90cb5b0d34339cd501f90f3e3c4b41a94b530790e7ba06ca28d044dbf4a05973a9fe976b5d1356019e0302b376c7f4
+DIST lzop-1.04.tar.gz 393483 SHA256 7e72b62a8a60aff5200a047eea0773a8fb205caf7acbe1774d95147f305a2f41 SHA512 5829b4495ffefab549aa697a05c536ce593c572c9eee6004460583a0090abcd317c6074c4f981dfee6be61ac8d127f02dd37053b6cb782af64db41586a8bbb6e WHIRLPOOL e258fc23f6579b5bc3198dfee612fab51f2f9e04aa08a97f68e6103f4900f01ac32b3552001960968b7297b22da20e1740bf7e02733d5a66536c35e162eb872e
diff --git a/app-arch/lzop/lzop-1.04.ebuild b/app-arch/lzop/lzop-1.04.ebuild
new file mode 100644
index 000000000000..d34d3ce61064
--- /dev/null
+++ b/app-arch/lzop/lzop-1.04.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+DESCRIPTION="Utility for fast (even real-time) compression/decompression"
+HOMEPAGE="http://www.lzop.org/"
+SRC_URI="http://www.lzop.org/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND=">=dev-libs/lzo-2"
+DEPEND="${RDEPEND}"
+
+src_test() {
+ einfo "compressing config.status to test"
+ src/lzop config.status || die 'compression failed'
+ ls -la config.status{,.lzo}
+ src/lzop -t config.status.lzo || die 'lzo test failed'
+ src/lzop -dc config.status.lzo | diff config.status - || die 'decompression generated differences from original'
+}
+
+src_install() {
+ # do not install COPYING or redundant conversions of manpage
+ emake DESTDIR="${D}" install \
+ dist_doc_DATA="AUTHORS NEWS README THANKS"
+}