summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2012-02-09 18:36:24 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2012-02-09 18:36:24 +0000
commit2d14e57dd42d2318a3b50ebd41319a00757517ab (patch)
tree3b91ab1a0a8507abbdbda0effef153cdef540c4a /media-libs/aalib
parentFix libmikmod.so installation caused by Makefile.am change. Fixes bug #402771... (diff)
downloadgentoo-2-2d14e57dd42d2318a3b50ebd41319a00757517ab.tar.gz
gentoo-2-2d14e57dd42d2318a3b50ebd41319a00757517ab.tar.bz2
gentoo-2-2d14e57dd42d2318a3b50ebd41319a00757517ab.zip
Added USE=static-libs, switched to EAPI=4.
(Portage version: 2.2.0_alpha85/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/aalib')
-rw-r--r--media-libs/aalib/ChangeLog8
-rw-r--r--media-libs/aalib/aalib-1.4_rc5-r2.ebuild (renamed from media-libs/aalib/aalib-1.4_rc5-r1.ebuild)20
2 files changed, 17 insertions, 11 deletions
diff --git a/media-libs/aalib/ChangeLog b/media-libs/aalib/ChangeLog
index 6114a766496f..6951c0c3703b 100644
--- a/media-libs/aalib/ChangeLog
+++ b/media-libs/aalib/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/aalib
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/aalib/ChangeLog,v 1.42 2012/02/06 06:59:47 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/aalib/ChangeLog,v 1.43 2012/02/09 18:36:24 slyfox Exp $
+
+*aalib-1.4_rc5-r2 (09 Feb 2012)
+
+ 09 Feb 2012; Sergei Trofimovich <slyfox@gentoo.org> +aalib-1.4_rc5-r2.ebuild,
+ -aalib-1.4_rc5-r1.ebuild:
+ Added USE=static-libs, switched to EAPI=4.
*aalib-1.4_rc5-r1 (06 Feb 2012)
diff --git a/media-libs/aalib/aalib-1.4_rc5-r1.ebuild b/media-libs/aalib/aalib-1.4_rc5-r2.ebuild
index d10c67f397e0..c25117af03ae 100644
--- a/media-libs/aalib/aalib-1.4_rc5-r1.ebuild
+++ b/media-libs/aalib/aalib-1.4_rc5-r2.ebuild
@@ -1,8 +1,10 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/aalib/aalib-1.4_rc5-r1.ebuild,v 1.1 2012/02/06 06:59:47 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/aalib/aalib-1.4_rc5-r2.ebuild,v 1.1 2012/02/09 18:36:24 slyfox Exp $
-inherit eutils libtool toolchain-funcs autotools
+EAPI=4
+
+inherit autotools eutils
MY_P="${P/_/}"
S="${WORKDIR}/${PN}-1.4.0"
@@ -14,7 +16,7 @@ SRC_URI="mirror://sourceforge/aa-project/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
-IUSE="X slang gpm"
+IUSE="X slang gpm static-libs"
RDEPEND="X? ( x11-libs/libX11 )
slang? ( >=sys-libs/slang-1.4.2 )"
@@ -23,9 +25,7 @@ DEPEND="${RDEPEND}
X? ( x11-proto/xproto )
gpm? ( sys-libs/gpm )"
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
epatch "${FILESDIR}"/${PN}-1.4_rc4-gentoo.patch
epatch "${FILESDIR}"/${PN}-1.4_rc4-m4.patch
epatch "${FILESDIR}"/${PN}-1.4_rc5-fix-protos.patch #224267
@@ -39,15 +39,15 @@ src_unpack() {
eautoreconf
}
-src_compile() {
+src_configure() {
econf \
$(use_with slang slang-driver) \
$(use_with X x11-driver) \
- || die
- emake CC="$(tc-getCC)" || die
+ $(use_enable static-libs static)
}
src_install() {
- emake DESTDIR="${D}" install || die
+ default
dodoc ANNOUNCE AUTHORS ChangeLog NEWS README*
+ use static-libs || find "${ED}" -name '*.la' -delete
}