summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Buisse <nattfodd@gentoo.org>2006-10-22 20:36:11 +0000
committerAlexandre Buisse <nattfodd@gentoo.org>2006-10-22 20:36:11 +0000
commit080cf458b69d6d7d4ae27ad856c1912b984f1516 (patch)
tree40aac2c52fd937994bdb38cce53f9067bbc50d52
parentInitial import of package. Closes bug #43826 (diff)
downloadhistorical-080cf458b69d6d7d4ae27ad856c1912b984f1516.tar.gz
historical-080cf458b69d6d7d4ae27ad856c1912b984f1516.tar.bz2
historical-080cf458b69d6d7d4ae27ad856c1912b984f1516.zip
Bump to 0.13.7
Package-Manager: portage-2.1.2_pre3-r6
-rw-r--r--media-gfx/llgal/ChangeLog11
-rw-r--r--media-gfx/llgal/files/digest-llgal-0.13.73
-rw-r--r--media-gfx/llgal/files/llgal-0.13.7-install-doc.patch41
-rw-r--r--media-gfx/llgal/llgal-0.13.7.ebuild46
4 files changed, 100 insertions, 1 deletions
diff --git a/media-gfx/llgal/ChangeLog b/media-gfx/llgal/ChangeLog
index cb26a2249e98..a5f20c751d69 100644
--- a/media-gfx/llgal/ChangeLog
+++ b/media-gfx/llgal/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for media-gfx/llgal
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/llgal/ChangeLog,v 1.15 2006/09/04 14:51:55 nattfodd Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/llgal/ChangeLog,v 1.16 2006/10/22 20:36:11 nattfodd Exp $
+
+*llgal-0.13.7 (22 Oct 2006)
+
+ 22 Oct 2006; Alexandre Buisse <nattfodd@gentoo.org>
+ -files/llgal-0.13.6-optional-po.patch,
+ +files/llgal-0.13.7-install-doc.patch, -llgal-0.13.6.ebuild,
+ +llgal-0.13.7.ebuild:
+ Bump to 0.13.7, bugfixes + examples directory. Added patch for clean install
+ of the doc and better handling of the LINGUAS stuff.
*llgal-0.13.6 (04 Sep 2006)
diff --git a/media-gfx/llgal/files/digest-llgal-0.13.7 b/media-gfx/llgal/files/digest-llgal-0.13.7
new file mode 100644
index 000000000000..e8b1caa505e6
--- /dev/null
+++ b/media-gfx/llgal/files/digest-llgal-0.13.7
@@ -0,0 +1,3 @@
+MD5 e61a58621dee294bbb6d72f0e3681cdf llgal-0.13.7.tar.bz2 74842
+RMD160 18886f5c967f4c10a905985afbfdcbf64ed81ddf llgal-0.13.7.tar.bz2 74842
+SHA256 cf59fc023605f45243f31f9c652a5a8752ca2f34cb12b668c251bf19bb2643a3 llgal-0.13.7.tar.bz2 74842
diff --git a/media-gfx/llgal/files/llgal-0.13.7-install-doc.patch b/media-gfx/llgal/files/llgal-0.13.7-install-doc.patch
new file mode 100644
index 000000000000..e97709a99a16
--- /dev/null
+++ b/media-gfx/llgal/files/llgal-0.13.7-install-doc.patch
@@ -0,0 +1,41 @@
+Index: doc/Makefile
+===================================================================
+--- doc/Makefile (revision 0)
++++ doc/Makefile (revision 0)
+@@ -0,0 +1,11 @@
++.PHONY: install uninstall
++
++install:
++ install -d -m 0755 $(DOCDIR)
++ find . -type d -exec install -d -m 0755 $(DOCDIR)/{} \;
++ find . -type f -not -name Makefile -exec install -m 0644 {} $(DOCDIR)/{} \;
++
++uninstall:
++ find . -type f -exec rm -f $(DOCDIR)/{} \;
++ find . -depth -type d -exec rmdir $(DOCDIR)/{} \;
++ rmdir $(DOCDIR) || true
+Index: Makefile
+===================================================================
+--- Makefile (revision 524)
++++ Makefile (working copy)
+@@ -18,6 +18,7 @@
+ SYSCONFDIR = $(PREFIX)/etc
+ MANDIR = $(PREFIX)/man
+ LOCALEDIR = $(DATADIR)/locale
++DOCDIR = $(DATADIR)/doc
+ PERL_INSTALLDIRS =
+
+ TARBALL = $(NAME)-$(VERSION)
+@@ -106,3 +107,12 @@
+
+ uninstall-po:
+ $(MAKE) -C $(PO_SUBDIR) uninstall LOCALEDIR=$(DESTDIR)$(LOCALEDIR)
++
++# Install the doc, only called on-demand by distrib-specific Makefile
++.PHONY: install-doc uninstall-doc
++
++install-doc:
++ $(MAKE) -C $(DOC_SUBDIR) install DOCDIR=$(DESTDIR)$(DOCDIR)
++
++uninstall-doc:
++ $(MAKE) -C $(DOC_SUBDIR) uninstall DOCDIR=$(DESTDIR)$(DOCDIR)
diff --git a/media-gfx/llgal/llgal-0.13.7.ebuild b/media-gfx/llgal/llgal-0.13.7.ebuild
new file mode 100644
index 000000000000..8769e6703ad9
--- /dev/null
+++ b/media-gfx/llgal/llgal-0.13.7.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/llgal/llgal-0.13.7.ebuild,v 1.1 2006/10/22 20:36:11 nattfodd Exp $
+
+inherit perl-module
+
+DESCRIPTION="Command-line static web gallery generator"
+HOMEPAGE="http://home.gna.org/llgal"
+SRC_URI="http://download.gna.org/llgal/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~sparc ~x86"
+IUSE="exif"
+LINS="fr"
+
+for ((i=0; i<${#LINS[@]}; i++)) do
+ IUSE="${IUSE} linguas_${LINS[$i]}"
+done
+
+RDEPEND="media-gfx/imagemagick
+ dev-lang/perl
+ dev-perl/ImageSize
+ dev-perl/URI
+ dev-perl/Locale-gettext
+ exif? ( media-libs/exiftool )"
+
+src_unpack() {
+ unpack "${A}"
+ cd "${S}"
+ epatch ${FILESDIR}/${P}-install-doc.patch
+}
+
+src_compile() {
+ make PREFIX=/usr SYSCONFDIR=/etc MANDIR=/usr/share/man \
+ PERL_INSTALLDIRS=vendor || die "Failed to compile"
+}
+
+src_install() {
+ make DESTDIR="${D}/" LOCALES="${LINGUAS}" PREFIX=/usr SYSCONFDIR=/etc \
+ MANDIR=/usr/share/man PERL_INSTALLDIRS=vendor \
+ install install-doc DOCDIR=/usr/share/doc/${P}/ \
+ || die "Failed to install"
+ fixlocalpod
+ dodoc Changes
+}