wok-6.x annotate itstool/receipt @ rev 14175
Up linux (3.2.40)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 10 13:32:17 2013 +0100 (2013-03-10) |
parents | |
children | 1040bd60b471 |
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@13533 | 8 DEPENDS="python" |
pascal@13533 | 9 BUILD_DEPENDS="" |
pascal@13533 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@13533 | 11 WEB_SITE="http://itstool.org/" |
pascal@13533 | 12 WGET_URL="http://files.itstool.org/itstool/$TARBALL" |
pascal@13533 | 13 |
pascal@13533 | 14 # Rules to configure and make the package. |
pascal@13533 | 15 compile_rules() |
pascal@13533 | 16 { |
pascal@13533 | 17 cd $src |
pascal@13533 | 18 ./configure $CONFIGURE_ARGS && |
pascal@13533 | 19 make && make install |
pascal@13533 | 20 } |
pascal@13533 | 21 |
pascal@13533 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13533 | 23 genpkg_rules() |
pascal@13533 | 24 { |
pascal@13533 | 25 mkdir -p $fs/usr/share |
pascal@13533 | 26 cp -a $install/usr/bin $fs/usr |
pascal@13533 | 27 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
pascal@13533 | 28 } |