# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-misc/bins/bins-1.1.20-r1.ebuild,v 1.3 2003/09/05 12:10:36 msterret Exp $ DESCRIPTION="Static HTML photo album generator" HOMEPAGE="http://bins.sautret.org/" SRC_URI="http://jsautret.free.fr/BINS/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 ~sparc ~alpha ~ppc" DEPEND=">=dev-lang/perl-5.6.1-r6 >=media-gfx/imagemagick-5.5.5.3 >=dev-perl/perlmagick-5.5.5.3 >=dev-perl/ImageSize-2.99 >=dev-perl/ImageInfo-1.04-r1 >=dev-perl/IO-String-1.01-r1 >=dev-perl/HTML-Clean-0.8 >=dev-perl/HTML-Parser-3.26-r1 >=dev-perl/HTML-Template-2.6 >=dev-perl/Locale-gettext-1.01 >=dev-perl/Storable-2.04 >=dev-perl/Text-Iconv-1.2 >=dev-perl/URI-1.18 >=dev-perl/libxml-perl-0.07-r1 >=dev-perl/XML-DOM-1.39-r1 >=dev-perl/XML-Grove-0.46_alpha >=dev-perl/XML-Handler-YAWriter-0.23 >=dev-perl/XML-XQL-0.67" src_unpack() { unpack ${P}.tar.gz cd ${S} # make install script non-interactive cp install.sh install.sh.orig cat install.sh.orig | \ sed -e 's/read dummy/#read dummy/' \ > install.sh # hack install script to set SHARE dir in executables correctly cp install.sh install.sh.orig cat install.sh.orig | \ sed -e 's/{$SHARE}/{\/usr\/share}/' \ > install.sh } src_install() { env DESTDIR=${D} PREFIX="/usr" ./install.sh || die }