wok-current diff intltool/receipt @ rev 1250

Add samba
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 12 15:43:10 2008 +0000 (2008-08-12)
parents
children c1ff74d9b6f4
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/intltool/receipt	Tue Aug 12 15:43:10 2008 +0000
     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 +}