wok view intltool/receipt @ rev 15000

Add some GPL2 licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 10 17:00:38 2013 +0000 (2013-08-10)
parents fd58eb654248
children ebd13d88e221
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"
13 DEPENDS="perl perl-xml-parser gettext"
14 BUILD_DEPENDS="perl perl-xml-parser wget"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/share/aclocal $fs/usr/share
33 cp -a $install/usr/share/intltool $fs/usr/share
34 chmod +x $fs/usr/bin/*
35 }