summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-03-10 17:15:24 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-03-10 17:15:24 +0000
commit2781f630cc1a1b8c66e939748978df7d70144086 (patch)
tree3841d65577e5dfb9d2fd6f20de3c3e9151ff4fae /sys-libs/libcap-ng
parentMarking javassist-3.14.0 ppc for bug 356931 (diff)
downloadgentoo-2-2781f630cc1a1b8c66e939748978df7d70144086.tar.gz
gentoo-2-2781f630cc1a1b8c66e939748978df7d70144086.tar.bz2
gentoo-2-2781f630cc1a1b8c66e939748978df7d70144086.zip
USE="static-libs" and remove useless libtool archive.
(Portage version: 2.2.0_alpha90/cvs/Linux x86_64)
Diffstat (limited to 'sys-libs/libcap-ng')
-rw-r--r--sys-libs/libcap-ng/ChangeLog5
-rw-r--r--sys-libs/libcap-ng/libcap-ng-0.6.6.ebuild25
2 files changed, 19 insertions, 11 deletions
diff --git a/sys-libs/libcap-ng/ChangeLog b/sys-libs/libcap-ng/ChangeLog
index bf02a868a555..301896ef1e6f 100644
--- a/sys-libs/libcap-ng/ChangeLog
+++ b/sys-libs/libcap-ng/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-libs/libcap-ng
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap-ng/ChangeLog,v 1.34 2012/02/20 15:26:27 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap-ng/ChangeLog,v 1.35 2012/03/10 17:15:24 ssuominen Exp $
+
+ 10 Mar 2012; Samuli Suominen <ssuominen@gentoo.org> libcap-ng-0.6.6.ebuild:
+ USE="static-libs" and remove useless libtool archive.
20 Feb 2012; Patrick Lauer <patrick@gentoo.org> libcap-ng-0.6.4.ebuild,
libcap-ng-0.6.5.ebuild, libcap-ng-0.6.6.ebuild:
diff --git a/sys-libs/libcap-ng/libcap-ng-0.6.6.ebuild b/sys-libs/libcap-ng/libcap-ng-0.6.6.ebuild
index 777531c75875..13cd963f318c 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.6.6.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.6.6.ebuild
@@ -1,21 +1,22 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap-ng/libcap-ng-0.6.6.ebuild,v 1.2 2012/02/20 15:26:27 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap-ng/libcap-ng-0.6.6.ebuild,v 1.3 2012/03/10 17:15:24 ssuominen Exp $
+
+EAPI=4
-EAPI="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="2.7-pypy-*"
-inherit eutils autotools flag-o-matic python
+inherit autotools eutils flag-o-matic python
DESCRIPTION="POSIX 1003.1e capabilities"
HOMEPAGE="http://people.redhat.com/sgrubb/libcap-ng/"
-SRC_URI="http://people.redhat.com/sgrubb/libcap-ng/${P}.tar.gz"
+SRC_URI="http://people.redhat.com/sgrubb/${PN}/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE="python"
+IUSE="python static-libs"
RDEPEND="sys-apps/attr
python? ( dev-lang/python )"
@@ -31,10 +32,10 @@ pkg_setup() {
src_prepare() {
# Disable byte-compilation of Python modules.
- echo "#!/bin/sh" > py-compile
+ >py-compile
# Python bindings are built/tested/installed manually.
- sed -e "/^SUBDIRS/s/ python//" -i bindings/Makefile.am
+ sed -i -e "/^SUBDIRS/s/ python//" bindings/Makefile.am || die
eautoreconf
@@ -42,7 +43,9 @@ src_prepare() {
}
src_configure() {
- econf $(use_with python)
+ econf \
+ $(use_enable static-libs static) \
+ $(use_with python)
}
src_compile() {
@@ -84,7 +87,7 @@ src_test() {
}
src_install() {
- emake install DESTDIR="${D}" || die "emake install failed"
+ emake DESTDIR="${D}" install
if use python; then
installation() {
@@ -100,7 +103,9 @@ src_install() {
python_clean_installation_image
fi
- dodoc ChangeLog README
+ dodoc AUTHORS ChangeLog README
+
+ rm -f "${ED}"/usr/lib*/${PN}.la
}
pkg_postinst() {