wok view intltool/receipt @ rev 25384
units: added file
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jul 30 17:32:11 2022 +0100 (2022-07-30) |
parents | bf9d3416304c |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="intltool"
4 VERSION="0.51.0"
5 CATEGORY="development"
6 SHORT_DESC="Translation tools (PO, XML)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://launchpad.net/intltool/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://launchpad.net/$PACKAGE/trunk/$VERSION/+download/$TARBALL"
14 DEPENDS="perl perl-xml-parser gettext"
15 BUILD_DEPENDS="perl perl-xml-parser"
16 HOST_ARCH="i486 arm"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | \
22 sed '/Latest version is/!d;s|.*is ||'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --prefix=/usr \
30 $CONFIGURE_ARGS &&
31 make -j 1 &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/share/aclocal $fs/usr/share
42 cp -a $install/usr/share/intltool $fs/usr/share
44 chmod +x $fs/usr/bin/*
45 }