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/lzop/lzop-1.04.ebuild
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/lzop/lzop-1.04.ebuild')
-rw-r--r--app-arch/lzop/lzop-1.04.ebuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/app-arch/lzop/lzop-1.04.ebuild b/app-arch/lzop/lzop-1.04.ebuild
new file mode 100644
index 00000000000..d34d3ce6106
--- /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"
+}