summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/bbgallery/bbgallery-1.2.0.ebuild')
-rw-r--r--app-misc/bbgallery/bbgallery-1.2.0.ebuild19
1 files changed, 8 insertions, 11 deletions
diff --git a/app-misc/bbgallery/bbgallery-1.2.0.ebuild b/app-misc/bbgallery/bbgallery-1.2.0.ebuild
index b375776278c9..3524c01ba38d 100644
--- a/app-misc/bbgallery/bbgallery-1.2.0.ebuild
+++ b/app-misc/bbgallery/bbgallery-1.2.0.ebuild
@@ -1,8 +1,7 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/bbgallery/bbgallery-1.2.0.ebuild,v 1.3 2004/02/17 08:38:26 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/bbgallery/bbgallery-1.2.0.ebuild,v 1.4 2004/04/10 09:20:30 mr_bones_ Exp $
-S="${WORKDIR}/${P}"
DESCRIPTION="Webpage image gallery creation perl script"
HOMEPAGE="http://bbgallery.sourceforge.net/"
SRC_URI="mirror://sourceforge/bbgallery/${P}.tar.bz2"
@@ -10,6 +9,7 @@ SRC_URI="mirror://sourceforge/bbgallery/${P}.tar.bz2"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86 ~ppc ~sparc ~alpha ~amd64"
+IUSE=""
RDEPEND="media-gfx/gimp
dev-lang/perl
@@ -21,20 +21,17 @@ RDEPEND="media-gfx/gimp
DEPEND="sys-apps/sed"
-src_compile(){
+src_compile() {
emake || die "compile failed"
}
-src_install(){
- dobin bbgallery
+src_install() {
+ dobin bbgallery || die "dobin failed"
+ newbin Contrib/JPG2jpg.pl JPG2jpg || die "newbin failed"
- mv Contrib/JPG2jpg.pl Contrib/JPG2jpg
- dobin Contrib/JPG2jpg
-
- dodir /usr/lib/bbgallery
exeinto /usr/lib/bbgallery
- doexe gimp_scale.pl
+ doexe gimp_scale.pl || die "doexe failed"
- dodoc CHANGELOG COPYING CREDITS README
+ dodoc CHANGELOG CREDITS README
dohtml doc/*.html
}