wok-current annotate gpicview/receipt @ rev 2400
ntp: improve start script
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 10 09:20:56 2009 +0000 (2009-03-10) |
parents | 8d2a4c25262e |
children | 8b79c3ee7ac2 |
rev | line source |
---|---|
pankso@257 | 1 # SliTaz package receipt. |
pankso@257 | 2 |
pankso@257 | 3 PACKAGE="gpicview" |
pankso@2013 | 4 VERSION="0.1.11" |
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 |