wok-6.x view vala/receipt @ rev 2446
rox-filer, rssyl, rtorrent, ruby: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 13 14:36:05 2009 +0000 (2009-03-13) |
parents | |
children | 918e2b4ddf52 |
line source
1 # SliTaz package receipt.
3 PACKAGE="vala"
4 VERSION="0.5.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.5/$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 }