diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-04-29 08:34:25 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-04-29 08:34:25 +0000 |
commit | 4ce1bb92d1f0ebfd4c4d2dcc9b191977c1052f83 (patch) | |
tree | 2b756abaeb492c0a69db01117a78bc036488d56b /media-libs/alsa-lib | |
parent | Version bump closes bug #48089. (diff) | |
download | historical-4ce1bb92d1f0ebfd4c4d2dcc9b191977c1052f83.tar.gz historical-4ce1bb92d1f0ebfd4c4d2dcc9b191977c1052f83.tar.bz2 historical-4ce1bb92d1f0ebfd4c4d2dcc9b191977c1052f83.zip |
USE=static now installs both static and shared libs.
Diffstat (limited to 'media-libs/alsa-lib')
-rw-r--r-- | media-libs/alsa-lib/ChangeLog | 6 | ||||
-rw-r--r-- | media-libs/alsa-lib/Manifest | 4 | ||||
-rw-r--r-- | media-libs/alsa-lib/alsa-lib-1.0.4.ebuild | 25 |
3 files changed, 27 insertions, 8 deletions
diff --git a/media-libs/alsa-lib/ChangeLog b/media-libs/alsa-lib/ChangeLog index 0ac46a6ac009..506385dee1a1 100644 --- a/media-libs/alsa-lib/ChangeLog +++ b/media-libs/alsa-lib/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/alsa-lib # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/ChangeLog,v 1.64 2004/04/20 08:12:01 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/ChangeLog,v 1.65 2004/04/29 08:34:25 eradicator Exp $ + + 29 Apr 2004; Jeremy Huddleston <eradicator@gentoo.org> + alsa-lib-1.0.4.ebuild: + USE=static now installs both static and shared libs. 20 Apr 2004; Jeremy Huddleston <eradicator@gentoo.org> alsa-lib-1.0.4.ebuild: diff --git a/media-libs/alsa-lib/Manifest b/media-libs/alsa-lib/Manifest index 78e55da8ecc1..47c8095f6a86 100644 --- a/media-libs/alsa-lib/Manifest +++ b/media-libs/alsa-lib/Manifest @@ -3,8 +3,8 @@ MD5 88e7d7a1bdef247fc6b175e8ee840dd8 alsa-lib-0.5.10b.ebuild 698 MD5 7ebe47229d1806ff2417f33759e23250 alsa-lib-1.0.2.ebuild 1625 MD5 2d72593f7a848ae6e6ce36bfd4a0bd10 alsa-lib-1.0.3b-r2.ebuild 1332 MD5 625080376529cda42906a9c004d154bd alsa-lib-0.9.2.ebuild 1119 -MD5 b8ff3261450f5a6b838319f6e7e673ef alsa-lib-1.0.4.ebuild 1484 -MD5 b7d56137d8616ee97a838a0cae66695d ChangeLog 9504 +MD5 c480fcbaddeaf9e48ea96711363e2679 alsa-lib-1.0.4.ebuild 1745 +MD5 fdcfcec9c9c10e53bf7bc8166c79c126 ChangeLog 9642 MD5 e1147a642867b3b3ea43518a1376f6d2 metadata.xml 250 MD5 477c697a35479bcb208db06f896e46cb alsa-lib-0.9.0_rc2.ebuild 1146 MD5 7866cccb2308203280e2a4382cbddee4 files/alsa-lib-1.0.3b-rate-capture.patch 565 diff --git a/media-libs/alsa-lib/alsa-lib-1.0.4.ebuild b/media-libs/alsa-lib/alsa-lib-1.0.4.ebuild index 2d9262ad9703..94d9b3845556 100644 --- a/media-libs/alsa-lib/alsa-lib-1.0.4.ebuild +++ b/media-libs/alsa-lib/alsa-lib-1.0.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.4.ebuild,v 1.2 2004/04/20 08:12:01 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.4.ebuild,v 1.3 2004/04/29 08:34:25 eradicator Exp $ inherit libtool @@ -27,6 +27,14 @@ S=${WORKDIR}/${MY_P} src_unpack() { unpack ${A} + if use static; then + mv ${S} ${S}.static + unpack ${A} + + cd ${S}.static + elibtoolize + fi + cd ${S} elibtoolize } @@ -34,13 +42,15 @@ src_unpack() { src_compile() { local myconf="" + econf --enable-static=no --enable-shared=yes || die + emake || die + # Can't do both according to alsa docs and bug #48233 if use static; then - myconf="--enable-static=yes --enable-shared=no" + cd ${S}.static + econf --enable-static=yes --enable-shared=no || die + emake || die fi - - econf ${myconf} || die - emake || die } src_install() { @@ -54,4 +64,9 @@ src_install() { #fixes the problem (fingers crossed) dosym /usr/lib/libasound.so.2 /usr/lib/libasound.so.1 dodoc ChangeLog COPYING TODO + + if use static; then + cd ${S}.static + make DESTDIR="${D}" install || die "make install failed" + fi } |