wok view intltool/receipt @ rev 10962
Fixed opencc CATEGORY. Don't use pushd and popd cause build bot may not use bash. Some clean up.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Sep 20 10:22:35 2011 +0000 (2011-09-20) |
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 }