wok-6.x annotate itstool/receipt @ rev 20058
Up slitaz-base-files (331), slitaz-boot-scripts (443).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Sep 12 02:02:47 2017 +0300 (2017-09-12) |
parents | 1040bd60b471 |
children | b130de7b7076 |
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@16812 | 13 DEPENDS="python libxml2-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 } |