summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-09-28 23:56:02 +0000
committerMike Frysinger <vapier@gentoo.org>2005-09-28 23:56:02 +0000
commita73e167274a679fa19d37033db79bd0bf7683274 (patch)
tree29b423265b1b52c82bf61a66c3864e096bd31820 /media-libs/urt
parenthppa/ia64 love (diff)
downloadhistorical-a73e167274a679fa19d37033db79bd0bf7683274.tar.gz
historical-a73e167274a679fa19d37033db79bd0bf7683274.tar.bz2
historical-a73e167274a679fa19d37033db79bd0bf7683274.zip
Only install the rle header files, and install them into /usr/include rather than a urt subdir #107497.
Package-Manager: portage-2.0.52-r1 http://www.bash.org/?136501
Diffstat (limited to 'media-libs/urt')
-rw-r--r--media-libs/urt/ChangeLog8
-rw-r--r--media-libs/urt/Manifest10
-rw-r--r--media-libs/urt/files/digest-urt-3.1b-r11
-rw-r--r--media-libs/urt/urt-3.1b-r1.ebuild62
4 files changed, 80 insertions, 1 deletions
diff --git a/media-libs/urt/ChangeLog b/media-libs/urt/ChangeLog
index 3622c7829954..1868e266c770 100644
--- a/media-libs/urt/ChangeLog
+++ b/media-libs/urt/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/urt
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/urt/ChangeLog,v 1.4 2005/09/27 20:41:39 vanquirius Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/urt/ChangeLog,v 1.5 2005/09/28 23:56:01 vapier Exp $
+
+*urt-3.1b-r1 (28 Sep 2005)
+
+ 28 Sep 2005; Mike Frysinger <vapier@gentoo.org> +urt-3.1b-r1.ebuild:
+ Only install the rle header files, and install them into /usr/include rather
+ than a urt subdir #107497.
27 Sep 2005; Marcelo Goes <vanquirius@gentoo.org> urt-3.1b.ebuild:
Depend on virtual/ghostscript instead of app-text/ghostscript if gs USE flag
diff --git a/media-libs/urt/Manifest b/media-libs/urt/Manifest
index f899d60be43e..0c9dbaa608c4 100644
--- a/media-libs/urt/Manifest
+++ b/media-libs/urt/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
MD5 8b62bbb47338ac24f8515c321b6e1977 urt-3.1b.ebuild 1550
MD5 5fc54c5d01402d0610fafa96961bb8e0 metadata.xml 161
MD5 d65d2f86d95c648bd4ad36281fe1a150 urt-3.1b-r1.ebuild 1536
@@ -8,3 +11,10 @@ MD5 3f2cd2217e501f325bdc547781337c5c files/urt-3.1b-compile-updates.patch 3397
MD5 5cf67043e6b90e68277ec2c02066556f files/gentoo-config 670
MD5 6f003bc3da29163d55742e87559a3a87 files/digest-urt-3.1b 60
MD5 6f003bc3da29163d55742e87559a3a87 files/digest-urt-3.1b-r1 60
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2 (GNU/Linux)
+
+iD8DBQFDOy3PgIKl8Uu19MoRApFBAJoDUGXGzTBx0jj3bNn3RxLaxJzeRACfcFfH
+P/f+SncPq8M9gbVQE255ErU=
+=1kov
+-----END PGP SIGNATURE-----
diff --git a/media-libs/urt/files/digest-urt-3.1b-r1 b/media-libs/urt/files/digest-urt-3.1b-r1
new file mode 100644
index 000000000000..fe0ff33a5163
--- /dev/null
+++ b/media-libs/urt/files/digest-urt-3.1b-r1
@@ -0,0 +1 @@
+MD5 c9a377284d00c102c1a8af53d95a6b39 urt-3.1b.tar.Z 1016405
diff --git a/media-libs/urt/urt-3.1b-r1.ebuild b/media-libs/urt/urt-3.1b-r1.ebuild
new file mode 100644
index 000000000000..d0854bf3da27
--- /dev/null
+++ b/media-libs/urt/urt-3.1b-r1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/urt/urt-3.1b-r1.ebuild,v 1.1 2005/09/28 23:56:01 vapier Exp $
+
+inherit eutils
+
+DESCRIPTION="the Utah Raster Toolkit is a library for dealing with raster images"
+HOMEPAGE="http://www.cs.utah.edu/gdc/projects/urt/"
+SRC_URI="ftp://ftp.iastate.edu/pub/utah-raster/${P}.tar.Z"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ia64 ~x86"
+IUSE="gif gs tiff X"
+
+DEPEND="X? ( virtual/x11 )
+ gif? ( media-libs/giflib )
+ tiff? ( media-libs/tiff )
+ gs? ( virtual/ghostscript )"
+
+S=${WORKDIR}
+
+urt_config() {
+ use $1 && echo "#define $2" || echo "##define $2"
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ rm -f bin/README
+
+ epatch "${FILESDIR}"/${P}-rle-fixes.patch
+ epatch "${FILESDIR}"/${P}-compile-updates.patch
+ epatch "${FILESDIR}"/${P}-tempfile.patch
+
+ sed -i -e '/^CFLAGS/s: -O : :' makefile.hdr
+ cp "${FILESDIR}"/gentoo-config config/gentoo
+ cat >> config/gentoo <<-EOF
+ $(urt_config X X11)
+ $(urt_config gif GIF)
+ $(urt_config gs POSTSCRIPT)
+ $(urt_config tiff TIFF)
+ ExtraCFLAGS = ${CFLAGS}
+ MFLAGS = ${MAKEOPTS}
+ EOF
+}
+
+src_compile() {
+ ./Configure config/gentoo || die "config"
+ emake || die "emake"
+}
+
+src_install() {
+ # this just installs it into some local dirs
+ make install || die
+ dobin bin/* || die "dobin"
+ dolib.a lib/librle.a || die "dolib.a"
+ insinto /usr/include
+ doins include/rle*.h || die "doins include"
+ doman man/man?/*.[135]
+ dodoc *-changes CHANGES* README blurb
+}