You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-gfx/igal/igal-2.0.ebuild

42 lines
1.0 KiB

# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/igal/igal-2.0.ebuild,v 1.10 2011/04/02 09:07:01 ssuominen Exp $
EAPI=2
MY_P=${PN}2-${PV}
DESCRIPTION="Static HTML image gallery generator"
HOMEPAGE="http://igal.trexler.at"
SRC_URI="http://${PN}.trexler.at/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE=""
RDEPEND="dev-lang/perl
virtual/jpeg
|| ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )"
DEPEND=""
S=${WORKDIR}/${MY_P}
src_prepare() {
sed -e "s:/usr/local/lib/igal2:/usr/share/igal2:g" \
-i igal2 -i igal2.1 || die
sed -i -e "s:/usr/local/bin/igal2:/usr/bin/igal2:" \
utilities/igal2.sh || die
}
src_compile() { :; }
src_install() {
dobin igal2 utilities/igal2.sh || die
dosym igal2 /usr/bin/igal || die
doman igal2.1
dodoc ChangeLog README
insinto /usr/share/igal2
doins *.html tile.png igal2.css || die
}