wok-current annotate gpicview/receipt @ rev 3117
c-client: use busybox tar
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 18 21:47:38 2009 +0200 (2009-05-18) |
parents | 30095ccadedb |
children | 4872ce496b05 |
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" |
pascal@2516 | 8 DEPENDS="gtk+ xorg xorg-libXdamage" |
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 \ |
pascal@2516 | 21 $CONFIGURE_ARGS && |
pascal@2516 | 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 |