wok-current view ftjam/receipt @ rev 9402

git: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 27 16:56:58 2011 +0200 (2011-03-27)
parents daeced6e66a8
children 1d1e623d75eb
line source
1 # SliTaz package receipt.
3 PACKAGE="ftjam"
4 VERSION="2.5.3rc2"
5 CATEGORY="development"
6 MAINTAINER="jozee@slitaz.org"
7 SHORT_DESC=="FT Jam - an enhanced version of the Jam build tool"
8 WEB_SITE="http://freetype.org/jam/"
9 DEPENDS="glibc-base"
10 BUILD_DEPENDS="bison"
11 PROVIDE="jam"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="http://david.freetype.org/jam/$TARBALL"
15 # Rules to configure and make the package.
17 compile_rules() {
18 cd $src
19 ./configure --prefix=/usr
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $_pkg/usr/bin $fs/usr
30 }