wok-next annotate intltool/receipt @ rev 20404
Up cookutils (1019)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 07 14:34:32 2017 +0200 (2017-12-07) |
parents | 9a17d981d0f7 |
children | 90a5eb560fd6 |
rev | line source |
---|---|
al@19745 | 1 # SliTaz package receipt v2. |
pankso@968 | 2 |
pankso@968 | 3 PACKAGE="intltool" |
al@19572 | 4 VERSION="0.51.0" |
pankso@968 | 5 CATEGORY="development" |
al@19745 | 6 SHORT_DESC="Internationalization tool" |
pankso@968 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
al@19572 | 9 WEB_SITE="https://freedesktop.org/wiki/Software/intltool/" |
al@19572 | 10 HOST_ARCH="i486 arm" |
al@19572 | 11 |
slaxemulator@6638 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19572 | 13 WGET_URL="http://launchpad.net/intltool/trunk/$VERSION/+download/$TARBALL" |
pascal@15000 | 14 |
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 { |
al@19572 | 20 sed -i 's:\\\${:\\\$\\{:' intltool-update.in |
al@19572 | 21 |
al@19572 | 22 ./configure $CONFIGURE_ARGS && make && make install |
al@19572 | 23 |
al@19572 | 24 docdir="$install/usr/share/doc/intltool-$VERSION" |
al@19572 | 25 mkdir -p $docdir; cp doc/I18N-HOWTO $docdir |
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 { |
al@19786 | 31 copy @std @dev |
al@19745 | 32 DEPENDS="perl-xml-parser gettext" |
pankso@968 | 33 } |