wok-current annotate intltool/receipt @ rev 15000
Add some GPL2 licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 10 17:00:38 2013 +0000 (2013-08-10) |
parents | fd58eb654248 |
children | ebd13d88e221 |
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@15000 | 12 |
gokhlayeh@5574 | 13 DEPENDS="perl perl-xml-parser gettext" |
pascal@12999 | 14 BUILD_DEPENDS="perl perl-xml-parser wget" |
pankso@968 | 15 |
pankso@968 | 16 # Rules to configure and make the package. |
pankso@968 | 17 compile_rules() |
pankso@968 | 18 { |
pankso@968 | 19 cd $src |
pankso@968 | 20 ./configure \ |
pankso@968 | 21 --prefix=/usr \ |
pascal@1465 | 22 $CONFIGURE_ARGS && |
pascal@1465 | 23 make && |
slaxemulator@12991 | 24 make DESTDIR=$DESTDIR install |
pankso@968 | 25 } |
pankso@968 | 26 |
pankso@968 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@968 | 28 genpkg_rules() |
pankso@968 | 29 { |
pankso@968 | 30 mkdir -p $fs/usr/share |
slaxemulator@12991 | 31 cp -a $install/usr/bin $fs/usr |
slaxemulator@12991 | 32 cp -a $install/usr/share/aclocal $fs/usr/share |
slaxemulator@12991 | 33 cp -a $install/usr/share/intltool $fs/usr/share |
pankso@968 | 34 chmod +x $fs/usr/bin/* |
pankso@968 | 35 } |