summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2012-04-11 18:28:25 +0000
committerMichał Górny <mgorny@gentoo.org>2012-04-11 18:28:25 +0000
commit0637eaf3fb83a73b40a32a5655051a8cb0918583 (patch)
treea244bc49382f894874496c9606f2d5f6e30df8bc /app-arch
parentwhitespace (diff)
downloadgentoo-2-0637eaf3fb83a73b40a32a5655051a8cb0918583.tar.gz
gentoo-2-0637eaf3fb83a73b40a32a5655051a8cb0918583.tar.bz2
gentoo-2-0637eaf3fb83a73b40a32a5655051a8cb0918583.zip
Add a USEflag for JIT.
(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/libzpaq/ChangeLog6
-rw-r--r--app-arch/libzpaq/libzpaq-5.01.ebuild8
-rw-r--r--app-arch/libzpaq/metadata.xml4
3 files changed, 14 insertions, 4 deletions
diff --git a/app-arch/libzpaq/ChangeLog b/app-arch/libzpaq/ChangeLog
index 0b46cfc77ccd..6ecaa39ae525 100644
--- a/app-arch/libzpaq/ChangeLog
+++ b/app-arch/libzpaq/ChangeLog
@@ -1,6 +1,10 @@
# 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.4 2012/04/10 15:01:48 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/libzpaq/ChangeLog,v 1.5 2012/04/11 18:28:25 mgorny Exp $
+
+ 11 Apr 2012; Michał Górny <mgorny@gentoo.org> libzpaq-5.01.ebuild,
+ metadata.xml:
+ Add a USEflag for JIT.
*libzpaq-5.01 (10 Apr 2012)
diff --git a/app-arch/libzpaq/libzpaq-5.01.ebuild b/app-arch/libzpaq/libzpaq-5.01.ebuild
index 8fa67445ccb8..2ea997fdb099 100644
--- a/app-arch/libzpaq/libzpaq-5.01.ebuild
+++ b/app-arch/libzpaq/libzpaq-5.01.ebuild
@@ -1,11 +1,11 @@
# 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-5.01.ebuild,v 1.1 2012/04/10 15:01:48 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/libzpaq/libzpaq-5.01.ebuild,v 1.2 2012/04/11 18:28:25 mgorny Exp $
EAPI=3
AUTOTOOLS_AUTORECONF=1
-inherit autotools-utils
+inherit autotools-utils flag-o-matic
MY_P=${PN}${PV/./}
DESCRIPTION="Library to compress files or objects in the ZPAQ format"
@@ -15,7 +15,7 @@ SRC_URI="http://mattmahoney.net/dc/${MY_P}.zip"
LICENSE="zpaq"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="static-libs"
+IUSE="+jit static-libs"
DEPEND="app-arch/unzip"
RDEPEND=""
@@ -34,5 +34,7 @@ src_configure() {
--with-library-version=2:0:0
)
+ use jit || append-flags -DNOJIT
+
autotools-utils_src_configure
}
diff --git a/app-arch/libzpaq/metadata.xml b/app-arch/libzpaq/metadata.xml
index 5cb9324943ab..7a46622a1ba3 100644
--- a/app-arch/libzpaq/metadata.xml
+++ b/app-arch/libzpaq/metadata.xml
@@ -5,4 +5,8 @@
<email>mgorny@gentoo.org</email>
<name>Michał Górny</name>
</maintainer>
+ <use>
+ <flag name='jit'>Enable just-in-time compilation for faster
+ compression (requires SSE2)</flag>
+ </use>
</pkgmetadata>