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