wok-6.x view intltool/receipt @ rev 20604

Up linux-libre (3.18.129)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 17 23:42:42 2018 +0100 (2018-12-17)
parents 380ffe05937a
children bf9d3416304c
line source
1 # SliTaz package receipt.
3 PACKAGE="intltool"
4 VERSION="0.50.2"
5 CATEGORY="development"
6 SHORT_DESC="Translation tools (PO, XML)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://edge.launchpad.net/intltool"
11 WGET_URL="https://edge.launchpad.net/intltool/trunk/$VERSION/+download/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="perl perl-xml-parser gettext"
15 BUILD_DEPENDS="perl perl-xml-parser wget"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/share/aclocal $fs/usr/share
34 cp -a $install/usr/share/intltool $fs/usr/share
35 chmod +x $fs/usr/bin/*
36 }