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