wok annotate intltool/receipt @ rev 20016
Up reaver (1.6.1) again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 11 13:47:43 2017 +0200 (2017-08-11) |
parents | 380ffe05937a |
children | bf9d3416304c |
rev | line source |
---|---|
pankso@968 | 1 # SliTaz package receipt. |
pankso@968 | 2 |
pankso@968 | 3 PACKAGE="intltool" |
slaxemulator@12991 | 4 VERSION="0.50.2" |
pankso@968 | 5 CATEGORY="development" |
pankso@968 | 6 SHORT_DESC="Translation tools (PO, XML)." |
pankso@968 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
slaxemulator@6638 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@15000 | 10 WEB_SITE="https://edge.launchpad.net/intltool" |
pascal@15000 | 11 WGET_URL="https://edge.launchpad.net/intltool/trunk/$VERSION/+download/$TARBALL" |
pascal@19099 | 12 HOST_ARCH="i486 arm" |
pascal@15000 | 13 |
gokhlayeh@5574 | 14 DEPENDS="perl perl-xml-parser gettext" |
pascal@12999 | 15 BUILD_DEPENDS="perl perl-xml-parser wget" |
pankso@968 | 16 |
pankso@968 | 17 # Rules to configure and make the package. |
pankso@968 | 18 compile_rules() |
pankso@968 | 19 { |
pankso@968 | 20 cd $src |
pankso@968 | 21 ./configure \ |
pankso@968 | 22 --prefix=/usr \ |
pascal@1465 | 23 $CONFIGURE_ARGS && |
pascal@1465 | 24 make && |
slaxemulator@12991 | 25 make DESTDIR=$DESTDIR install |
pankso@968 | 26 } |
pankso@968 | 27 |
pankso@968 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@968 | 29 genpkg_rules() |
pankso@968 | 30 { |
pankso@968 | 31 mkdir -p $fs/usr/share |
slaxemulator@12991 | 32 cp -a $install/usr/bin $fs/usr |
slaxemulator@12991 | 33 cp -a $install/usr/share/aclocal $fs/usr/share |
slaxemulator@12991 | 34 cp -a $install/usr/share/intltool $fs/usr/share |
pankso@968 | 35 chmod +x $fs/usr/bin/* |
pankso@968 | 36 } |