wok annotate listpatron/receipt @ rev 13457

hostpad: add missing file
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Oct 07 23:49:54 2012 +0200 (2012-10-07)
parents 2e55de4816a6
children 2a5cc8208d36
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 {
pascal@11623 29 mkdir -p $fs/usr/share/applications
pascal@11623 30 cp -a $stuff/listpatron.desktop $fs/usr/share/applications
pankso@455 31 cp -a $_pkg/usr/bin $fs/usr
pankso@455 32 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
pankso@458 33 cp -a $_pkg/usr/share/xml $fs/usr/share
pankso@760 34 cd $fs/usr/share/pixmaps
pankso@760 35 ln -s listpatron/icons/listpatron-col-add.png listpatron.png
pankso@455 36 }
pankso@455 37