wok-4.x view vala/receipt @ rev 4929
Add nat-tester
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 16 12:15:32 2010 +0100 (2010-02-16) |
parents | 918e2b4ddf52 |
children | f917e0dfdfbd |
line source
1 # SliTaz package receipt.
3 PACKAGE="vala"
4 VERSION="0.7.9"
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/${VERSION%.*}/$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 }