wok-current diff itstool/receipt @ rev 14499
Add python-mock
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 11 17:26:00 2013 +0200 (2013-05-11) |
parents | |
children | 1040bd60b471 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/itstool/receipt Sat May 11 17:26:00 2013 +0200 1.3 @@ -0,0 +1,28 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="itstool" 1.7 +VERSION="1.2.0" 1.8 +CATEGORY="utilities" 1.9 +SHORT_DESC="ITS-based XML translation tool" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +DEPENDS="python" 1.12 +BUILD_DEPENDS="" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 +WEB_SITE="http://itstool.org/" 1.15 +WGET_URL="http://files.itstool.org/itstool/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + ./configure $CONFIGURE_ARGS && 1.22 + make && make install 1.23 +} 1.24 + 1.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.26 +genpkg_rules() 1.27 +{ 1.28 + mkdir -p $fs/usr/share 1.29 + cp -a $install/usr/bin $fs/usr 1.30 + cp -a $install/usr/share/$PACKAGE $fs/usr/share 1.31 +}