wok view intltool/receipt @ rev 968

Add intltool (new build dep for PCmanFM)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Jun 30 12:14:42 2008 +0200 (2008-06-30)
parents
children c1ff74d9b6f4
line source
1 # SliTaz package receipt.
3 PACKAGE="intltool"
4 VERSION="0.40.0"
5 CATEGORY="development"
6 SHORT_DESC="Translation tools (PO, XML)."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 DEPENDS="perl perl-xml-parser"
10 WEB_SITE="http://www.gnome.org/"
11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/intltool/0.40/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 $CONFIGURE_ARGS
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/share/aclocal $fs/usr/share
30 cp -a $_pkg/usr/share/intltool $fs/usr/share
31 chmod +x $fs/usr/bin/*
32 }