wok-next 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 | ab2cace845ae |
children | 0115ef744ad6 |
files | intltool/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/intltool/receipt Mon Jun 30 12:14:42 2008 +0200 1.3 @@ -0,0 +1,32 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="intltool" 1.7 +VERSION="0.40.0" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Translation tools (PO, XML)." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.12 +DEPENDS="perl perl-xml-parser" 1.13 +WEB_SITE="http://www.gnome.org/" 1.14 +WGET_URL="http://ftp.gnome.org/pub/gnome/sources/intltool/0.40/$TARBALL" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + cd $src 1.20 + ./configure \ 1.21 + --prefix=/usr \ 1.22 + $CONFIGURE_ARGS 1.23 + make 1.24 + make DESTDIR=$PWD/_pkg install 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + mkdir -p $fs/usr/share 1.31 + cp -a $_pkg/usr/bin $fs/usr 1.32 + cp -a $_pkg/usr/share/aclocal $fs/usr/share 1.33 + cp -a $_pkg/usr/share/intltool $fs/usr/share 1.34 + chmod +x $fs/usr/bin/* 1.35 +}