summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-05-05 15:20:19 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-05-05 15:20:19 +0000
commit2d4ccfc1f580fda6ecf77d90dd1f844e340388c3 (patch)
treed4856c76c8cdfda9f21f9c569d5d6b81373ad1aa /media-libs/giflib
parentFix building with SWIG 2 (bug #346605). (diff)
downloadgentoo-2-2d4ccfc1f580fda6ecf77d90dd1f844e340388c3.tar.gz
gentoo-2-2d4ccfc1f580fda6ecf77d90dd1f844e340388c3.tar.bz2
gentoo-2-2d4ccfc1f580fda6ecf77d90dd1f844e340388c3.zip
Punt static library and .la file archive.
(Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/giflib')
-rw-r--r--media-libs/giflib/ChangeLog7
-rw-r--r--media-libs/giflib/giflib-4.1.6-r1.ebuild26
2 files changed, 21 insertions, 12 deletions
diff --git a/media-libs/giflib/ChangeLog b/media-libs/giflib/ChangeLog
index cc0023dba534..7359e8db3c0c 100644
--- a/media-libs/giflib/ChangeLog
+++ b/media-libs/giflib/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-libs/giflib
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/giflib/ChangeLog,v 1.60 2008/12/08 18:52:29 maekke Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/giflib/ChangeLog,v 1.61 2011/05/05 15:20:19 scarabeus Exp $
+
+ 05 May 2011; Tomáš Chvátal <scarabeus@gentoo.org> giflib-4.1.6-r1.ebuild:
+ Punt static library and .la file archive.
08 Dec 2008; Markus Meier <maekke@gentoo.org> -giflib-4.1.6.ebuild:
old
diff --git a/media-libs/giflib/giflib-4.1.6-r1.ebuild b/media-libs/giflib/giflib-4.1.6-r1.ebuild
index 3ad982c3541f..dee1c647673c 100644
--- a/media-libs/giflib/giflib-4.1.6-r1.ebuild
+++ b/media-libs/giflib/giflib-4.1.6-r1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/giflib/giflib-4.1.6-r1.ebuild,v 1.7 2008/12/07 11:49:54 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/giflib/giflib-4.1.6-r1.ebuild,v 1.8 2011/05/05 15:20:19 scarabeus Exp $
+
+EAPI=4
inherit eutils libtool
@@ -22,29 +24,33 @@ DEPEND="!media-libs/libungif
)
rle? ( media-libs/urt )"
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
epatch "${FILESDIR}"/${P}-gif2rle.patch
epatch "${FILESDIR}"/${P}-giffix-null-Extension-fix.patch
elibtoolize
epunt_cxx
}
-src_compile() {
- local myconf="--disable-gl $(use_enable X x11)"
+src_configure() {
+ local myconf=""
+
# prevent circular depend #111455
if has_version media-libs/urt ; then
myconf="${myconf} $(use_enable rle)"
else
myconf="${myconf} --disable-rle"
fi
- econf ${myconf}
- emake || die "emake failed"
+
+ econf \
+ --disable-static \
+ --disable-gl \
+ $(use_enable X x11) \
+ ${myconf}
}
src_install() {
- emake DESTDIR="${D}" install || die "make install failed"
+ default
+ find "${ED}" -name '*.la' -delete
dodoc AUTHORS BUGS ChangeLog NEWS ONEWS README TODO doc/*.txt
dohtml -r doc
}