wok annotate itstool/receipt @ rev 15158
gmerlin: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 17:45:49 2013 +0000 (2013-08-15) |
parents | feeef374a05a |
children | 80c5837af140 |
rev | line source |
---|---|
pascal@13533 | 1 # SliTaz package receipt. |
pascal@13533 | 2 |
pascal@13533 | 3 PACKAGE="itstool" |
pascal@13533 | 4 VERSION="1.2.0" |
pascal@13533 | 5 CATEGORY="utilities" |
pascal@13533 | 6 SHORT_DESC="ITS-based XML translation tool" |
pascal@13533 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@15023 | 8 LICENSE="GPL3" |
pascal@13533 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@13533 | 10 WEB_SITE="http://itstool.org/" |
pascal@13533 | 11 WGET_URL="http://files.itstool.org/itstool/$TARBALL" |
pascal@13533 | 12 |
pascal@15023 | 13 DEPENDS="python" |
pascal@15023 | 14 BUILD_DEPENDS="" |
pascal@15023 | 15 |
pascal@13533 | 16 # Rules to configure and make the package. |
pascal@13533 | 17 compile_rules() |
pascal@13533 | 18 { |
pascal@13533 | 19 cd $src |
pascal@13533 | 20 ./configure $CONFIGURE_ARGS && |
pascal@13533 | 21 make && make install |
pascal@13533 | 22 } |
pascal@13533 | 23 |
pascal@13533 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13533 | 25 genpkg_rules() |
pascal@13533 | 26 { |
pascal@13533 | 27 mkdir -p $fs/usr/share |
pascal@13533 | 28 cp -a $install/usr/bin $fs/usr |
pascal@13533 | 29 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
pascal@13533 | 30 } |