wok-current view intltool/receipt @ rev 8476
Fixed some receipts that used PACKAGE-VERSION installed of src.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Feb 07 18:38:32 2011 +0000 (2011-02-07) |
parents | 873acd44b973 |
children | 68b94dfafd32 |
line source
1 # SliTaz package receipt.
3 PACKAGE="intltool"
4 VERSION="0.41.1"
5 CATEGORY="development"
6 SHORT_DESC="Translation tools (PO, XML)."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 DEPENDS="perl perl-xml-parser gettext"
10 BUILD_DEPENDS="perl perl-xml-parser"
11 WEB_SITE="https://edge.launchpad.net/intltool"
12 WGET_URL="http://edge.launchpad.net/intltool/trunk/$VERSION/+download/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/share/aclocal $fs/usr/share
31 cp -a $_pkg/usr/share/intltool $fs/usr/share
32 chmod +x $fs/usr/bin/*
33 }