wok-current view intltool/receipt @ rev 20614

palemoon: force arch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 20 21:37:38 2018 +0100 (2018-12-20)
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 }