wok annotate intltool/receipt @ rev 12999
intltool: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 06 13:52:30 2012 +0200 (2012-06-06) |
parents | 68b94dfafd32 |
children | 380ffe05937a |
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" |
slaxemulator@6638 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
gokhlayeh@5574 | 9 DEPENDS="perl perl-xml-parser gettext" |
pascal@12999 | 10 BUILD_DEPENDS="perl perl-xml-parser wget" |
slaxemulator@6639 | 11 WEB_SITE="https://edge.launchpad.net/intltool" |
slaxemulator@12991 | 12 WGET_URL="https://edge.launchpad.net/intltool/trunk/$VERSION/+download/$TARBALL" |
pankso@968 | 13 |
pankso@968 | 14 # Rules to configure and make the package. |
pankso@968 | 15 compile_rules() |
pankso@968 | 16 { |
pankso@968 | 17 cd $src |
pankso@968 | 18 ./configure \ |
pankso@968 | 19 --prefix=/usr \ |
pascal@1465 | 20 $CONFIGURE_ARGS && |
pascal@1465 | 21 make && |
slaxemulator@12991 | 22 make DESTDIR=$DESTDIR install |
pankso@968 | 23 } |
pankso@968 | 24 |
pankso@968 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@968 | 26 genpkg_rules() |
pankso@968 | 27 { |
pankso@968 | 28 mkdir -p $fs/usr/share |
slaxemulator@12991 | 29 cp -a $install/usr/bin $fs/usr |
slaxemulator@12991 | 30 cp -a $install/usr/share/aclocal $fs/usr/share |
slaxemulator@12991 | 31 cp -a $install/usr/share/intltool $fs/usr/share |
pankso@968 | 32 chmod +x $fs/usr/bin/* |
pankso@968 | 33 } |