summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-02-23 07:18:03 +0000
committerMike Frysinger <vapier@gentoo.org>2003-02-23 07:18:03 +0000
commit4df23a7a227029b78e6777b56ef7b735978b4358 (patch)
tree8db473be8b85f55004689f5a2c13d3f0e2306cf8 /media-libs/libgd
parentupdate libgd mask (diff)
downloadgentoo-2-4df23a7a227029b78e6777b56ef7b735978b4358.tar.gz
gentoo-2-4df23a7a227029b78e6777b56ef7b735978b4358.tar.bz2
gentoo-2-4df23a7a227029b78e6777b56ef7b735978b4358.zip
version bump
Diffstat (limited to 'media-libs/libgd')
-rw-r--r--media-libs/libgd/ChangeLog7
-rw-r--r--media-libs/libgd/files/digest-libgd-2.0.11
-rw-r--r--media-libs/libgd/files/digest-libgd-2.0.111
-rw-r--r--media-libs/libgd/libgd-2.0.1.ebuild67
-rw-r--r--media-libs/libgd/libgd-2.0.11.ebuild34
5 files changed, 41 insertions, 69 deletions
diff --git a/media-libs/libgd/ChangeLog b/media-libs/libgd/ChangeLog
index cd3bcb669b30..6b343f90fcbd 100644
--- a/media-libs/libgd/ChangeLog
+++ b/media-libs/libgd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/libgd
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libgd/ChangeLog,v 1.17 2003/02/19 00:57:32 rac Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libgd/ChangeLog,v 1.18 2003/02/23 07:18:03 vapier Exp $
+
+*libgd-2.0.11 (23 Feb 2003)
+
+ 23 Feb 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bumpage.
*libgd-1.8.3-r6 (18 Feb 2003)
diff --git a/media-libs/libgd/files/digest-libgd-2.0.1 b/media-libs/libgd/files/digest-libgd-2.0.1
deleted file mode 100644
index bacd566c6a64..000000000000
--- a/media-libs/libgd/files/digest-libgd-2.0.1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 43af994a97f3300a1165ca4888176ece gd-2.0.1.tar.gz 436945
diff --git a/media-libs/libgd/files/digest-libgd-2.0.11 b/media-libs/libgd/files/digest-libgd-2.0.11
new file mode 100644
index 000000000000..e3f838362712
--- /dev/null
+++ b/media-libs/libgd/files/digest-libgd-2.0.11
@@ -0,0 +1 @@
+MD5 e2b6a14e7ac9781789e5d9f189af8475 gd-2.0.11.tar.gz 514994
diff --git a/media-libs/libgd/libgd-2.0.1.ebuild b/media-libs/libgd/libgd-2.0.1.ebuild
deleted file mode 100644
index 729668e24d65..000000000000
--- a/media-libs/libgd/libgd-2.0.1.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# Original from libgd-1.8.3-r3.ebuild slightly edited for libgd-2.0.1
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libgd/libgd-2.0.1.ebuild,v 1.5 2003/02/13 12:48:37 vapier Exp $
-
-IUSE="X"
-
-MY_P=${P/lib/}
-S=${WORKDIR}/${MY_P}
-DESCRIPTION="A graphics library for fast image creation"
-SRC_URI="http://www.boutell.com/gd/http/${MY_P}.tar.gz"
-SRC_URI="mirror://gentoo/gd-2.0.1.patch.bz2"
-HOMEPAGE="http://www.boutell.com/gd/"
-
-SLOT="0"
-LICENSE="as-is | BSD"
-KEYWORDS="x86"
-
-DEPEND=">=media-libs/jpeg-6b
- >=media-libs/libpng-1.0.7
- >=media-libs/freetype-2.0.9
- X? ( virtual/x11 )"
-
-src_unpack() {
-
- unpack ${A}
- cd ${S}
- patch -p <${FILESDIR}/gd-2.0.1.patch
- cp Makefile Makefile.orig
- if [ "`use X`" ]
- then
- sed -e "s/^\(CFLAGS\)=.*/\1=$CFLAGS -DHAVE_XPM -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE -DHAVE_LIBPNG /" \
- -e "s/^\(LIBS\)=.*/\1=-lm -lgd -lpng -lz -ljpeg -lfreetype -lXpm -lX11/" \
- -e "s/^\(INCLUDEDIRS\)=/\1=-I\/usr\/include\/freetype /" \
- -e "s/^\(LIBDIRS\)=/\1=-L\$(INSTALL_LIB) /" \
- Makefile.orig > Makefile
- else
- sed -e "s/^\(CFLAGS\)=.*/\1=$CFLAGS -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE -DHAVE_LIBPNG /" \
- -e "s/^\(LIBS\)=.*/\1=-lm -lgd -lpng -lz -ljpeg -lfreetype/" \
- -e "s/^\(INCLUDEDIRS\)=/\1=-I\/usr\/include\/freetype /" \
- -e "s/^\(LIBDIRS\)=/\1=-L\$(INSTALL_LIB) /" \
- Makefile.orig > Makefile
- fi
-
-}
-
-src_compile() {
-
- emake || die
-
-}
-
-src_install() {
-
- dodir /usr/{bin,lib,include}
-
- make \
- INSTALL_LIB=${D}/usr/lib \
- INSTALL_BIN=${D}/usr/bin \
- INSTALL_INCLUDE=${D}/usr/include \
- install || die
-
- preplib /usr
-
- dodoc readme.txt
- dohtml -r ./
-}
diff --git a/media-libs/libgd/libgd-2.0.11.ebuild b/media-libs/libgd/libgd-2.0.11.ebuild
new file mode 100644
index 000000000000..7f0ee7cb38bd
--- /dev/null
+++ b/media-libs/libgd/libgd-2.0.11.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2003 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.11.ebuild,v 1.1 2003/02/23 07:18:03 vapier Exp $
+
+MY_P=${P/lib/}
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="A graphics library for fast image creation"
+SRC_URI="http://www.boutell.com/gd/http/${MY_P}.tar.gz"
+HOMEPAGE="http://www.boutell.com/gd/"
+
+SLOT="0"
+LICENSE="as-is | BSD"
+KEYWORDS="~x86"
+IUSE="X pic"
+
+DEPEND=">=media-libs/jpeg-6b
+ >=media-libs/libpng-1.0.7
+ >=media-libs/freetype-2.0.9
+ X? ( virtual/x11 )"
+
+src_compile() {
+ econf \
+ --with-gnu-ld \
+ `use_with pic` \
+ `use_with X x` \
+ || die
+ emake || die
+}
+
+src_install() {
+ emake DESTDIR=${D} install || die
+ dodoc README*
+ dohtml index.html demoin.png
+}