wok annotate intltool/receipt @ rev 25378
updated ufw (0.36 -> 0.36.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jul 30 15:14:33 2022 +0100 (2022-07-30) |
parents | bf9d3416304c |
children |
rev | line source |
---|---|
pankso@968 | 1 # SliTaz package receipt. |
pankso@968 | 2 |
pankso@968 | 3 PACKAGE="intltool" |
Hans-G?nter@21053 | 4 VERSION="0.51.0" |
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" |
Hans-G?nter@21053 | 9 WEB_SITE="https://launchpad.net/intltool/" |
Hans-G?nter@21053 | 10 |
slaxemulator@6638 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21053 | 12 WGET_URL="https://launchpad.net/$PACKAGE/trunk/$VERSION/+download/$TARBALL" |
pascal@15000 | 13 |
gokhlayeh@5574 | 14 DEPENDS="perl perl-xml-parser gettext" |
Hans-G?nter@21053 | 15 BUILD_DEPENDS="perl perl-xml-parser" |
Hans-G?nter@21053 | 16 HOST_ARCH="i486 arm" |
pankso@968 | 17 |
pascal@24434 | 18 # What is the latest version available today? |
pascal@24434 | 19 current_version() |
pascal@24434 | 20 { |
pascal@24434 | 21 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24434 | 22 sed '/Latest version is/!d;s|.*is ||' |
pascal@24434 | 23 } |
pascal@24434 | 24 |
pankso@968 | 25 # Rules to configure and make the package. |
pankso@968 | 26 compile_rules() |
pankso@968 | 27 { |
Hans-G?nter@21053 | 28 ./configure \ |
Hans-G?nter@21053 | 29 --prefix=/usr \ |
pascal@1465 | 30 $CONFIGURE_ARGS && |
Hans-G?nter@21053 | 31 make -j 1 && |
slaxemulator@12991 | 32 make DESTDIR=$DESTDIR install |
pankso@968 | 33 } |
pankso@968 | 34 |
pankso@968 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@968 | 36 genpkg_rules() |
pankso@968 | 37 { |
pankso@968 | 38 mkdir -p $fs/usr/share |
Hans-G?nter@21053 | 39 |
Hans-G?nter@21053 | 40 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21053 | 41 cp -a $install/usr/share/aclocal $fs/usr/share |
Hans-G?nter@21053 | 42 cp -a $install/usr/share/intltool $fs/usr/share |
Hans-G?nter@21053 | 43 |
pankso@968 | 44 chmod +x $fs/usr/bin/* |
pankso@968 | 45 } |