summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2012-10-14 07:42:17 +0000
committerMichał Górny <mgorny@gentoo.org>2012-10-14 07:42:17 +0000
commitcbb6d6f4a74e8c04951cef0c67e712849cb89d74 (patch)
tree7e309a4280ae5c14ac59459db0c3263a9645b365 /app-arch
parentStable on alpha, bug 427544. (diff)
downloadgentoo-2-cbb6d6f4a74e8c04951cef0c67e712849cb89d74.tar.gz
gentoo-2-cbb6d6f4a74e8c04951cef0c67e712849cb89d74.tar.bz2
gentoo-2-cbb6d6f4a74e8c04951cef0c67e712849cb89d74.zip
Version bump.
(Portage version: 2.2.0_alpha137_p1/cvs/Linux x86_64)
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/libzpaq/ChangeLog8
-rw-r--r--app-arch/libzpaq/libzpaq-6.10.ebuild43
2 files changed, 49 insertions, 2 deletions
diff --git a/app-arch/libzpaq/ChangeLog b/app-arch/libzpaq/ChangeLog
index b1ce17c2275d..53b8bf3c9d31 100644
--- a/app-arch/libzpaq/ChangeLog
+++ b/app-arch/libzpaq/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-arch/libzpaq
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/libzpaq/ChangeLog,v 1.7 2012/05/24 04:33:22 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/libzpaq/ChangeLog,v 1.8 2012/10/14 07:42:17 mgorny Exp $
+
+*libzpaq-6.10 (14 Oct 2012)
+
+ 14 Oct 2012; Michał Górny <mgorny@gentoo.org> +libzpaq-6.10.ebuild:
+ Version bump.
24 May 2012; Mike Frysinger <vapier@gentoo.org> libzpaq-2.02a-r1.ebuild,
libzpaq-3.00.ebuild, libzpaq-5.01.ebuild:
@@ -39,4 +44,3 @@
05 Jan 2011; Michał Górny <mgorny@gentoo.org>
+files/0001-Add-autotools-files.patch, +libzpaq-2.02.ebuild, +metadata.xml:
Add a stand-alone libzpaq ebuild.
-
diff --git a/app-arch/libzpaq/libzpaq-6.10.ebuild b/app-arch/libzpaq/libzpaq-6.10.ebuild
new file mode 100644
index 000000000000..0372b0bf4936
--- /dev/null
+++ b/app-arch/libzpaq/libzpaq-6.10.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/libzpaq/libzpaq-6.10.ebuild,v 1.1 2012/10/14 07:42:17 mgorny Exp $
+
+EAPI=4
+
+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"
+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
+ # XXX: update the patch instead when the old version is gone
+ touch libzpaqo.cpp || die
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ local myeconfargs=(
+ --with-library-version=3:0:0
+ # man-page is no longer there
+ ac_cv_prog_POD2MAN=
+ )
+
+ use debug || append-cppflags -DNDEBUG
+ use jit || append-cppflags -DNOJIT
+
+ autotools-utils_src_configure
+}