summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2014-02-19 17:32:36 +0000
committerMichał Górny <mgorny@gentoo.org>2014-02-19 17:32:36 +0000
commit7ea85a983068115e2f19a950740ce1e704cff797 (patch)
treee9178347e5ba8586455d9ea7fd56e2adaadb37ba /app-arch/libzpaq/libzpaq-6.49.ebuild
parentAdd dev-python/setuptools to build-time dependencies, wrt bug #492464. Thanks... (diff)
downloadgentoo-2-7ea85a983068115e2f19a950740ce1e704cff797.tar.gz
gentoo-2-7ea85a983068115e2f19a950740ce1e704cff797.tar.bz2
gentoo-2-7ea85a983068115e2f19a950740ce1e704cff797.zip
Version bump.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
Diffstat (limited to 'app-arch/libzpaq/libzpaq-6.49.ebuild')
-rw-r--r--app-arch/libzpaq/libzpaq-6.49.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/app-arch/libzpaq/libzpaq-6.49.ebuild b/app-arch/libzpaq/libzpaq-6.49.ebuild
new file mode 100644
index 000000000000..ea4f11a042c3
--- /dev/null
+++ b/app-arch/libzpaq/libzpaq-6.49.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/libzpaq/libzpaq-6.49.ebuild,v 1.1 2014/02/19 17:32:36 mgorny Exp $
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=1
+inherit autotools-utils flag-o-matic eutils
+
+MY_P=zpaq${PV/./}
+DESCRIPTION="Library to compress files in the ZPAQ format"
+HOMEPAGE="http://mattmahoney.net/dc/zpaq.html"
+SRC_URI="http://mattmahoney.net/dc/${MY_P}.zip"
+
+LICENSE="zpaq"
+SLOT="0/4"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug +jit static-libs"
+
+DEPEND="app-arch/unzip"
+RDEPEND=""
+
+S=${WORKDIR}
+
+src_prepare() {
+ EPATCH_OPTS+=-p1 epatch "${FILESDIR}"/0001-Add-autotools-files.patch
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ local myeconfargs=(
+ --with-library-version=5:0:1
+ )
+
+ use debug || append-cppflags -DNDEBUG
+ use jit || append-cppflags -DNOJIT
+ append-cppflags -Dunix
+
+ autotools-utils_src_configure
+}