wok annotate listpatron/receipt @ rev 9197
spidermonkey: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 10 11:24:48 2011 +0100 (2011-03-10) |
parents | 307f8bb243e3 |
children | af9a1b47948c |
rev | line source |
---|---|
pankso@455 | 1 # SliTaz package receipt. |
pankso@455 | 2 |
pankso@455 | 3 PACKAGE="listpatron" |
pankso@455 | 4 VERSION="0.1.1" |
pankso@455 | 5 CATEGORY="office" |
pankso@455 | 6 SHORT_DESC="GTK+2 application for maintaining lists of information.." |
pankso@455 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@2518 | 8 DEPENDS="gtk+ xorg-libXdamage" |
pankso@455 | 9 BUILD_DEPENDS="gtk+-dev" |
pankso@455 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@455 | 11 WEB_SITE="http://www.electricmonk.nl/Programmings/ListPatron" |
pankso@455 | 12 WGET_URL="http://projects.electricmonk.nl/projects/$PACKAGE/$TARBALL" |
pankso@455 | 13 |
pankso@455 | 14 # Rules to configure and make the package. |
pankso@455 | 15 compile_rules() |
pankso@455 | 16 { |
pankso@455 | 17 cd $src |
pankso@455 | 18 ./configure \ |
pankso@455 | 19 --prefix=/usr \ |
pankso@455 | 20 --libexecdir=/usr/lib/$PACKAGE \ |
pascal@2518 | 21 $CONFIGURE_ARGS && |
pascal@2518 | 22 make && |
pankso@455 | 23 make DESTDIR=$PWD/_pkg install |
pankso@455 | 24 } |
pankso@455 | 25 |
pankso@455 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@455 | 27 genpkg_rules() |
pankso@455 | 28 { |
pankso@458 | 29 mkdir -p $fs/usr/share |
pankso@455 | 30 cp -a $_pkg/usr/bin $fs/usr |
pankso@455 | 31 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
pankso@458 | 32 cp -a $_pkg/usr/share/xml $fs/usr/share |
pankso@760 | 33 cd $fs/usr/share/pixmaps |
pankso@760 | 34 ln -s listpatron/icons/listpatron-col-add.png listpatron.png |
pankso@455 | 35 } |
pankso@455 | 36 |