diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-03-19 01:50:31 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-03-19 01:50:31 +0000 |
commit | 725513cdcd22223972f00530308a34af8a528e15 (patch) | |
tree | 36162f92fcb721cf694f4bf9e4cca4fc65043dd9 | |
parent | update SRC_URI (diff) | |
download | gentoo-2-725513cdcd22223972f00530308a34af8a528e15.tar.gz gentoo-2-725513cdcd22223972f00530308a34af8a528e15.tar.bz2 gentoo-2-725513cdcd22223972f00530308a34af8a528e15.zip |
old
-rw-r--r-- | media-libs/libgd/files/digest-libgd-2.0.15-r1 | 2 | ||||
-rw-r--r-- | media-libs/libgd/files/digest-libgd-2.0.17-r1 | 2 | ||||
-rw-r--r-- | media-libs/libgd/libgd-2.0.15-r1.ebuild | 53 | ||||
-rw-r--r-- | media-libs/libgd/libgd-2.0.17-r1.ebuild | 64 |
4 files changed, 0 insertions, 121 deletions
diff --git a/media-libs/libgd/files/digest-libgd-2.0.15-r1 b/media-libs/libgd/files/digest-libgd-2.0.15-r1 deleted file mode 100644 index 208bfcc945fa..000000000000 --- a/media-libs/libgd/files/digest-libgd-2.0.15-r1 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 6ededf633b4fd054662ec123c7825fbb gd-2.0.15.tar.gz 526904 -MD5 7456398bc5bb9eb2c73fc49586b7d29c patch_gd2.0.15_gif_030616.gz 27312 diff --git a/media-libs/libgd/files/digest-libgd-2.0.17-r1 b/media-libs/libgd/files/digest-libgd-2.0.17-r1 deleted file mode 100644 index e6f4332bf64b..000000000000 --- a/media-libs/libgd/files/digest-libgd-2.0.17-r1 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 a1c0b12e69df63c22c7f90a4e8618c83 gd-2.0.17.tar.gz 541198 -MD5 5690c8e054d6cefcf585cb63a6822c4d libgd-2.0.17-gif.patch.bz2 19755 diff --git a/media-libs/libgd/libgd-2.0.15-r1.ebuild b/media-libs/libgd/libgd-2.0.15-r1.ebuild deleted file mode 100644 index 619f1a7179bf..000000000000 --- a/media-libs/libgd/libgd-2.0.15-r1.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libgd/libgd-2.0.15-r1.ebuild,v 1.5 2004/02/20 10:31:41 mr_bones_ Exp $ - -inherit eutils libtool - -MY_P=${P/lib/} -GIF_PATCH=patch_gd${PV}_gif_030616 -DESCRIPTION="A graphics library for fast image creation" -HOMEPAGE="http://www.boutell.com/gd/ http://www.rime.com.au/gd/" -SRC_URI="http://www.boutell.com/gd/http/${MY_P}.tar.gz - gif? ( http://downloads.rhyme.com.au/gd/${GIF_PATCH}.gz )" - -LICENSE="as-is | BSD" -SLOT="2" -KEYWORDS="x86 ppc sparc ~mips hppa ~alpha" -IUSE="X gif" - -DEPEND=">=media-libs/jpeg-6b - >=media-libs/libpng-1.2.5 - >=media-libs/freetype-2.1.2 - X? ( virtual/x11 )" - -S=${WORKDIR}/${MY_P} - -src_unpack() { - unpack ${A} ; cd ${S} - elibtoolize - [ -n "`use gif`" ] && epatch ${WORKDIR}/${GIF_PATCH} -} - -src_compile() { - econf \ - `use_with X x` \ - --includedir=/usr/include/gd-2 \ - || die - emake || die -} - -src_install() { - emake DESTDIR=${D} install || die - dodoc INSTALL README* - dohtml -r ./ - - # make it slotable - mv ${D}/usr/lib/libgd{,2}.a - dosed 's:libgd\.a:libgd2.a:' /usr/lib/libgd.la - dosym libgd2.a /usr/lib/libgd.a - cd ${D}/usr/include/gd-2/ - for f in * ; do - dosym gd-2/${f} /usr/include/${f} - done -} diff --git a/media-libs/libgd/libgd-2.0.17-r1.ebuild b/media-libs/libgd/libgd-2.0.17-r1.ebuild deleted file mode 100644 index 298a7cf75d55..000000000000 --- a/media-libs/libgd/libgd-2.0.17-r1.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libgd/libgd-2.0.17-r1.ebuild,v 1.2 2004/02/20 10:31:41 mr_bones_ Exp $ - -MY_P=${P/lib/} -#GIF_PATCH=patch_gd2.0.15_gif_030801 -DESCRIPTION="A graphics library for fast image creation" -HOMEPAGE="http://www.boutell.com/gd/ http://www.rime.com.au/gd/" -SRC_URI="http://www.boutell.com/gd/http/${MY_P}.tar.gz - gif? ( mirror://gentoo/${P}-gif.patch.bz2 )" -# gif? ( http://downloads.rhyme.com.au/gd/${GIF_PATCH}.gz )" - -LICENSE="as-is | BSD" -SLOT="2" -KEYWORDS="~x86 ~ppc ~sparc ~mips ~hppa ~alpha" -IUSE="jpeg png X truetype gif" - -DEPEND="jpeg? ( >=media-libs/jpeg-6b ) - png? ( >=media-libs/libpng-1.2.5 sys-libs/zlib ) - truetype? ( >=media-libs/freetype-2.1.2 ) - X? ( virtual/x11 )" - -S=${WORKDIR}/${MY_P} - -src_unpack() { - unpack ${A} - cd ${S} - use gif && epatch ${WORKDIR}/${P}-gif.patch - use png || echo 'void main(){}' > circletexttest.c - use jpeg || echo 'void main(){}' > circletexttest.c -} - -src_compile() { - local myconf="" - use truetype \ - && myconf="${myconf} --with-freetype=yes" \ - || myconf="${myconf} --with-freetype=no" - use png \ - && myconf="${myconf} --with-png=yes" \ - || myconf="${myconf} --with-png=no" - econf \ - `use_with png` \ - `use_with jpeg` \ - `use_with X xpm` \ - --includedir=/usr/include/gd-2 \ - ${myconf} \ - || die - emake || die -} - -src_install() { - emake DESTDIR=${D} install || die - dodoc INSTALL README* - dohtml -r ./ - - # make it slotable - mv ${D}/usr/lib/libgd{,2}.a - dosed 's:libgd\.a:libgd2.a:' /usr/lib/libgd.la - dosym libgd2.a /usr/lib/libgd.a - cd ${D}/usr/include/gd-2/ - for f in * ; do - dosym gd-2/${f} /usr/include/${f} - done -} |