wok view vala/receipt @ rev 4550

fix: pkg rules
author Allan Pinto <allan316@gmail.com>
date Fri Dec 04 17:16:37 2009 +0000 (2009-12-04)
parents 9668cfe8bcf6
children 1caacacc25b3
line source
1 # SliTaz package receipt.
3 PACKAGE="vala"
4 VERSION="0.7.7"
5 CATEGORY="development"
6 SHORT_DESC="Compiler for the GObject type system"
7 MAINTAINER="mimas@slitaz.org"
8 DEPENDS="glib"
9 BUILD_DEPENDS="flex bison glib-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://live.gnome.org/Vala"
12 WGET_URL="http://download.gnome.org/sources/vala/0.7/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make && make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 mkdir -p $fs/usr/share
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 cp -a $_pkg/usr/share/vala $fs/usr/share
34 strip $fs/usr/bin/*
35 strip $fs/usr/lib/*so*
36 }