wok-current annotate gpicview/receipt @ rev 257
Add GPicView (replace GQview on LiveCD core)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Feb 24 20:38:34 2008 +0100 (2008-02-24) |
parents | |
children | 30095ccadedb |
rev | line source |
---|---|
pankso@257 | 1 # SliTaz package receipt. |
pankso@257 | 2 |
pankso@257 | 3 PACKAGE="gpicview" |
pankso@257 | 4 VERSION="0.1.9" |
pankso@257 | 5 CATEGORY="graphics" |
pankso@257 | 6 SHORT_DESC="Light pictures viewer." |
pankso@257 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@257 | 8 DEPENDS="gtk+ xorg" |
pankso@257 | 9 BUILD_DEPENDS="gtk+-dev xorg-dev" |
pankso@257 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@257 | 11 WEB_SITE="http://lxde.sourceforge.net/gpicview/" |
pankso@257 | 12 WGET_URL="$SF_MIRROR/lxde/$TARBALL" |
pankso@257 | 13 |
pankso@257 | 14 # Rules to configure and make the package. |
pankso@257 | 15 compile_rules() |
pankso@257 | 16 { |
pankso@257 | 17 cd $src |
pankso@257 | 18 ./configure \ |
pankso@257 | 19 --prefix=/usr \ |
pankso@257 | 20 --mandir=/usr/share/man \ |
pankso@257 | 21 $CONFIGURE_ARGS |
pankso@257 | 22 make |
pankso@257 | 23 make DESTDIR=$PWD/_pkg install |
pankso@257 | 24 } |
pankso@257 | 25 |
pankso@257 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@257 | 27 genpkg_rules() |
pankso@257 | 28 { |
pankso@257 | 29 mkdir -p $fs/usr/share |
pankso@257 | 30 cp -a $_pkg/usr/bin $fs/usr |
pankso@257 | 31 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
pankso@257 | 32 } |
pankso@257 | 33 |