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

shaarli: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 20 12:48:01 2013 +0100 (2013-02-20)
parents 68b94dfafd32
children 380ffe05937a
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 DEPENDS="perl perl-xml-parser gettext"
10 BUILD_DEPENDS="perl perl-xml-parser wget"
11 WEB_SITE="https://edge.launchpad.net/intltool"
12 WGET_URL="https://edge.launchpad.net/intltool/trunk/$VERSION/+download/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/usr/share/aclocal $fs/usr/share
31 cp -a $install/usr/share/intltool $fs/usr/share
32 chmod +x $fs/usr/bin/*
33 }