summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cummings <mcummings@gentoo.org>2002-12-03 02:31:37 +0000
committerMichael Cummings <mcummings@gentoo.org>2002-12-03 02:31:37 +0000
commit7bf4f0429fda6fd8318db312527ac533d4cfc0e1 (patch)
treed446b791627ee405ec04e62d488dcab03a2ce5b0 /media-gfx/igal
parentversion bump (diff)
downloadhistorical-7bf4f0429fda6fd8318db312527ac533d4cfc0e1.tar.gz
historical-7bf4f0429fda6fd8318db312527ac533d4cfc0e1.tar.bz2
historical-7bf4f0429fda6fd8318db312527ac533d4cfc0e1.zip
bug 9587
Diffstat (limited to 'media-gfx/igal')
-rw-r--r--media-gfx/igal/ChangeLog7
-rw-r--r--media-gfx/igal/files/digest-igal-1.31
-rw-r--r--media-gfx/igal/files/igal-1.3-gentoo.diff49
-rw-r--r--media-gfx/igal/igal-1.3.ebuild37
4 files changed, 94 insertions, 0 deletions
diff --git a/media-gfx/igal/ChangeLog b/media-gfx/igal/ChangeLog
new file mode 100644
index 000000000000..b5edf964ced8
--- /dev/null
+++ b/media-gfx/igal/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for app-miscigalChangeLog/
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/igal/ChangeLog,v 1.1 2002/12/03 02:31:37 mcummings Exp $
+
+ 23 Oct 2002; Michael Cummings <mcummings@gentoo.org> igal-1.3.ebuild :
+
+ Initial entry. Submitted by Dylan Carlson <absinthe@pobox.com>, bug 9587
diff --git a/media-gfx/igal/files/digest-igal-1.3 b/media-gfx/igal/files/digest-igal-1.3
new file mode 100644
index 000000000000..7cd821e55258
--- /dev/null
+++ b/media-gfx/igal/files/digest-igal-1.3
@@ -0,0 +1 @@
+MD5 dceec90c328e76889b3b741fbeeb1309 igal-1.3.tar.gz 19453
diff --git a/media-gfx/igal/files/igal-1.3-gentoo.diff b/media-gfx/igal/files/igal-1.3-gentoo.diff
new file mode 100644
index 000000000000..58f78687cd43
--- /dev/null
+++ b/media-gfx/igal/files/igal-1.3-gentoo.diff
@@ -0,0 +1,49 @@
+--- igal-1.3/indextemplate.html.orig 2001-09-03 19:26:32.000000000 -0400
++++ igal-1.3/indextemplate.html 2002-10-23 20:09:40.000000000 -0400
+@@ -17,7 +17,7 @@
+ </center>
+
+ <p><font size="-1">created with
+-<a href="http://www.stanford.edu/~epop/igal">igal</a></font>
++<a href="http://www.stanford.edu/~epop/igal">igal</a> on <a href="http://www.gentoo.org">gentoo linux</a></font>
+ </font>
+
+ </body>
+--- igal-1.3/Makefile.orig 2002-10-23 20:23:18.000000000 -0400
++++ igal-1.3/Makefile 2002-10-23 20:42:33.000000000 -0400
+@@ -1,11 +1,14 @@
+ ############################################################################
+ # if you change this, please also modify the value on the 8th line of igal
+-DESTDIR=/usr/local
++DESTDIR=/usr
+ ############################################################################
+
+ BINDIR=$(DESTDIR)/bin
+-MANDIR=$(DESTDIR)/man/man1
+-LIBDIR=$(DESTDIR)/lib/igal
++MANDIR=$(DESTDIR)/share/man/man1
++LIBDIR=$(DESTDIR)/share/igal/lib
++
++default::
++
+
+ clean::
+ rm -rf $(LIBDIR)
+--- igal-1.3/igal.orig 2002-10-23 20:19:53.000000000 -0400
++++ igal-1.3/igal 2002-10-23 20:35:19.000000000 -0400
+@@ -5,13 +5,13 @@
+ ############################################################################
+ # please change this accordingly if you change the DESTDIR in the tarball
+ # distribution Makefile or the --prefix of the RPM installation
+-$LIBDIR = "/usr/local/lib/igal";
++$LIBDIR = "/usr/share/igal/lib";
+ # for example if you make DESTDIR=/usr then $LIBDIR="/usr/lib/igal"
+ ############################################################################
+ # if you KNOW you have the ImageMagick package installed (e.g commands like
+ # identify and mogrify) then setting this equal to 1 may speed up the code a
+ # bit (igal will stop checking for these commands every time it runs)
+-$haveim = 0;
++$haveim = 1;
+ ############################################################################
+ # if you KNOW you have the libjpeg stuff installed (e.g commands like cjpeg,
+ # djpeg and pnmscale) then setting this equal to 1 may speed up the code a
diff --git a/media-gfx/igal/igal-1.3.ebuild b/media-gfx/igal/igal-1.3.ebuild
new file mode 100644
index 000000000000..93b2240a23b1
--- /dev/null
+++ b/media-gfx/igal/igal-1.3.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/igal/igal-1.3.ebuild,v 1.1 2002/12/03 02:31:37 mcummings Exp $
+
+S="${WORKDIR}/${P}"
+DESCRIPTION="Static HTML image gallery generator"
+HOMEPAGE="http://www.stanford.edu/~epop/igal/"
+SRC_URI="http://www.stanford.edu/~epop/igal/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 ~ppc ~sparc ~sparc64 ~alpha"
+
+RDEPEND="sys-devel/perl
+ media-gfx/imagemagick"
+
+src_unpack(){
+ unpack ${P}.tar.gz
+ patch -p0 < ${FILESDIR}/${P}-gentoo.diff
+}
+
+src_compile(){
+ make || die
+}
+
+src_install(){
+ dodir /usr/share/igal/lib
+ insinto /usr/share/igal/lib
+ doins indextemplate.html
+ doins slidetemplate.html
+ doins tile.gif
+ into /usr
+ dobin igal
+ doman igal.1
+ dodoc ChangeLog COPYING README
+}
+