Version bumped. Added to ~ppc-macos.
authorMamoru Komachi <usata@gentoo.org>
Thu, 30 Sep 2004 09:44:52 +0000 (09:44 +0000)
committerMamoru Komachi <usata@gentoo.org>
Thu, 30 Sep 2004 09:44:52 +0000 (09:44 +0000)
media-libs/giflib/ChangeLog
media-libs/giflib/Manifest
media-libs/giflib/files/digest-giflib-4.1.3 [new file with mode: 0644]
media-libs/giflib/giflib-4.1.3.ebuild [new file with mode: 0644]

index 154f008d46cd857e586fbb7cedabbab9c582a21f..7d09e8aa2c078760b4a0a4bcd5b4c4ef4e3be0b8 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for media-libs/giflib
 # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/giflib/ChangeLog,v 1.15 2004/09/23 20:16:18 lv Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/giflib/ChangeLog,v 1.16 2004/09/30 09:44:52 usata Exp $
+
+*giflib-4.1.3 (30 Sep 2004)
+
+  30 Sep 2004; Mamoru KOMACHI <usata@gentoo.org> +giflib-4.1.3.ebuild:
+  Version bumped. Added to ~ppc-macos.
 
   23 Sep 2004; Travis Tilley <lv@gentoo.org> giflib-4.1.0-r3.ebuild:
   fixed sandbox violation when CONF_LIBDIR is set
index 1f292b60e20ca980ca51d87ffc765789efed559b..ec48bc032d18b6605920eb44a821a52814acb8a5 100644 (file)
@@ -1,3 +1,15 @@
-MD5 5c0fc71be14189ac830dc21bdfb7c080 ChangeLog 2016
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 80492e65c6171e9a2d08dfebb8c2c1bb ChangeLog 2159
 MD5 4702da7707a43673f93157e1fd4246b0 giflib-4.1.0-r3.ebuild 1763
+MD5 8b1514bb8ac3cd7d7b392ed6a6f78b2b giflib-4.1.3.ebuild 1719
 MD5 93888297538e2f77defcfef93578b8db files/digest-giflib-4.1.0-r3 64
+MD5 eff137a49d638c20405a6f8c9c4ad5b5 files/digest-giflib-4.1.3 64
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.4 (Darwin)
+
+iD8DBQFBW9YQVWNWqTUmv+0RAlK8AJ0ZnysbPjJYVfqmjwL6L9PxGwKiWwCfbVGl
+RNuXpbd2BffWsjjfYn9FWQ8=
+=yPzk
+-----END PGP SIGNATURE-----
diff --git a/media-libs/giflib/files/digest-giflib-4.1.3 b/media-libs/giflib/files/digest-giflib-4.1.3
new file mode 100644 (file)
index 0000000..c782353
--- /dev/null
@@ -0,0 +1 @@
+MD5 fcc94af2800cb4385f2306fef6e3ecf3 giflib-4.1.3.tar.gz 570137
diff --git a/media-libs/giflib/giflib-4.1.3.ebuild b/media-libs/giflib/giflib-4.1.3.ebuild
new file mode 100644 (file)
index 0000000..8ca11f2
--- /dev/null
@@ -0,0 +1,58 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/giflib/giflib-4.1.3.ebuild,v 1.1 2004/09/30 09:44:52 usata Exp $
+
+inherit gnuconfig
+
+DESCRIPTION="Library to handle, display and manipulate GIF images"
+HOMEPAGE="http://sourceforge.net/project/libungif/"
+SRC_URI="mirror://sourceforge/libungif/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha ~arm ~hppa ~amd64 ~ia64 ~ppc64 ~ppc-macos"
+IUSE="X gif"
+
+DEPEND="X? ( virtual/x11 )"
+
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+       gnuconfig_update
+       # The library it tries to create is like 12 bytes, which is obviously bogus,
+       # updating libtool/autoconf fixes this!
+       if [ "${ARCH}" = "ppc64" ] ; then
+               libtoolize -c -f
+               aclocal
+               autoconf
+       fi
+}
+
+src_compile() {
+       econf `use_with X x` || die
+       emake || die "emake failed"
+}
+
+src_install() {
+       make DESTDIR=${D} install || die "make install failed"
+
+       # if gif is not in USE, then ungif is preferred
+       use gif || rm -rf "${D}/usr/bin" "${D}/usr/include/gif_lib.h"
+
+       dodoc AUTHORS BUGS ChangeLog NEWS ONEWS PATENT_PROBLEMS \
+               README TODO doc/*.txt || die "dodoc failed"
+       dohtml -r doc || die "dohtml failed"
+}
+
+pkg_postinst() {
+       if use gif ; then
+               einfo "You had the gif USE flag set, so the binary from this library"
+               einfo "is your gif binary.  If you would prefer to use the binary from"
+               einfo "the ungif library, please unset the gif USE toggle, and remerge"
+               einfo "both this and libungif"
+       else
+               einfo "You did not have the gif USE toggle set, so the binary from"
+               einfo "the libungif package is assumed to be your gif binary. Please"
+               einfo "make sure that you have libungif emerged."
+       fi
+}