# ChangeLog for media-libs/libungif
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libungif/ChangeLog,v 1.20 2004/11/06 08:50:27 usata Exp $
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libungif/ChangeLog,v 1.21 2005/01/08 09:03:16 vapier Exp $
+
+ 08 Jan 2005; Mike Frysinger <vapier@gentoo.org> libungif-4.1.3.ebuild:
+ Clean up and arm/hppa/ia64/x86 stable.
06 Nov 2004; Mamoru KOMACHI <usata@gentoo.org> libungif-4.1.0.1b.ebuild,
libungif-4.1.3.ebuild:
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libungif/libungif-4.1.0.1b.ebuild,v 1.16 2004/11/06 08:50:27 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libungif/libungif-4.1.0.1b.ebuild,v 1.17 2005/01/08 09:03:16 vapier Exp $
inherit eutils libtool
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libungif/libungif-4.1.3.ebuild,v 1.3 2004/11/06 08:50:28 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libungif/libungif-4.1.3.ebuild,v 1.4 2005/01/08 09:03:16 vapier Exp $
inherit eutils libtool
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha ~arm ~hppa ~amd64 ~ia64 ~ppc64 ~ppc-macos"
+KEYWORDS="~alpha ~amd64 arm hppa ia64 ~mips ~ppc ~ppc64 ~ppc-macos ~sparc x86"
IUSE="X gif"
RDEPEND="X? ( virtual/x11 )"
-DEPEND="${RDEPEND}
- >=sys-devel/autoconf-2.57"
-src_compile() {
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
elibtoolize || die
+ epunt_cxx
+}
- local myconf
- use alpha && myconf="${myconf} --host=alpha-unknown-linux-gnu"
- econf `use_with X x` ${myconf} || die
- emake -j1 || die
+src_compile() {
+ econf $(use_with X x) || die
+ emake || die
}
src_install() {
make DESTDIR="${D}" install || die
- use gif && rm -rf "${D}/usr/bin" "${D}/usr/include/gif_lib.h"
+ use gif && rm -r "${D}"/usr/bin "${D}"/usr/include/gif_lib.h
- dodoc AUTHORS BUGS COPYING ChangeLog NEWS ONEWS UNCOMPRESSED_GIF \
+ dodoc AUTHORS BUGS ChangeLog NEWS ONEWS UNCOMPRESSED_GIF \
README TODO doc/*.txt || die "dodoc failed"
dohtml -r doc || die "dohtml failed"
}