wok-stable annotate verbiste/receipt @ rev 11544
swat: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 25 14:23:11 2011 +0100 (2011-12-25) |
parents | |
children |
rev | line source |
---|---|
pascal@11228 | 1 # SliTaz package receipt. |
pascal@11228 | 2 |
pascal@11228 | 3 PACKAGE="verbiste" |
pascal@11228 | 4 VERSION="0.1.33" |
pascal@11228 | 5 CATEGORY="office" |
pascal@11228 | 6 SHORT_DESC="Verbiste is a French conjugation system." |
pascal@11228 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@11228 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11228 | 9 WEB_SITE="http://perso.b2b2c.ca/sarrazip/dev/verbiste.html" |
pascal@11228 | 10 WGET_URL="http://perso.b2b2c.ca/sarrazip/dev/$TARBALL" |
pascal@11228 | 11 |
pascal@11228 | 12 DEPENDS="gtk+ libxml2" |
pascal@11228 | 13 BUILD_DEPENDS="gtk+-dev libxml2-dev" |
pascal@11228 | 14 |
pascal@11228 | 15 # Rules to configure and make the package. |
pascal@11228 | 16 compile_rules() |
pascal@11228 | 17 { |
pascal@11228 | 18 cd $src |
pascal@11228 | 19 ./configure $CONFIGURE_ARGS && |
pascal@11228 | 20 make && make install |
pascal@11228 | 21 } |
pascal@11228 | 22 |
pascal@11228 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11228 | 24 genpkg_rules() |
pascal@11228 | 25 { |
pascal@11228 | 26 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps |
pascal@11228 | 27 cp -a $install/usr/bin $fs/usr |
pascal@11228 | 28 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@11228 | 29 cp -a $install/usr/share/verbiste-* $fs/usr/share |
pascal@11228 | 30 rm $fs/usr/share/verbiste-*/COPYING |
pascal@11228 | 31 cp $src/src/gtk/verbiste.png $fs/usr/share/pixmaps |
pascal@11228 | 32 } |
pascal@11228 | 33 |