# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later S="${WORKDIR}/${P}" DESCRIPTION="Webpage image gallery creation perl script" HOMEPAGE="http://www.bb-zone.com/zope/bbzone/projects/bbgallery" SRC_URI="ftp://ftp.bb-zone.com/pub/${PN}/${P}.tar.bz2" SLOT="0" LICENSE="GPL-2" #it doesn't really need both gimp and imagemagick #but to be useful, it needs at least one #use var? RDEPEND="media-gfx/gimp media-gfx/imagemagick sys-devel/perl" #not sure if it's necessary to have this here, but sed is needed for make DEPEND="sys-apps/sed" src_compile(){ emake || die } src_install(){ dobin bbgallery mv Contrib/JPG2jpg.pl Contrib/JPG2jpg dobin Contrib/JPG2jpg dodir /usr/lib/bbgallery exeinto /usr/lib/bbgallery doexe gimp_scale.pl dodoc CHANGELOG COPYING CREDITS README }