summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/llgal/llgal-0.13.17-r1.ebuild')
-rw-r--r--media-gfx/llgal/llgal-0.13.17-r1.ebuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/media-gfx/llgal/llgal-0.13.17-r1.ebuild b/media-gfx/llgal/llgal-0.13.17-r1.ebuild
new file mode 100644
index 000000000000..a36320d7a6c5
--- /dev/null
+++ b/media-gfx/llgal/llgal-0.13.17-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+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="amd64 ~ppc x86"
+# Package warrants IUSE doc and possibly examples
+IUSE="exif"
+
+LINS="de en it fr"
+for i in ${LINS}; do
+ IUSE="${IUSE} linguas_${i}"
+done
+
+RDEPEND="media-gfx/imagemagick
+ dev-perl/ImageSize
+ dev-perl/URI
+ dev-perl/Locale-gettext
+ exif? ( media-libs/exiftool )"
+
+src_compile() {
+ emake PREFIX=/usr SYSCONFDIR=/etc MANDIR=/usr/share/man PERL_INSTALLDIRS=vendor
+ mv doc/llgalrc . || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" LOCALES="${LINGUAS}" PREFIX=/usr SYSCONFDIR=/etc \
+ PERL_INSTALLDIRS=vendor MANDIR=/usr/share/man \
+ install install-doc install-man DOCDIR=/usr/share/doc/${PF}/html/
+ perl_delete_localpod
+ dodoc README llgalrc llgalrc.5
+}