wok-current annotate vala/receipt @ rev 12808
Up: vala (0.16.0)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 19 15:18:38 2012 +0200 (2012-05-19) |
parents | c55724b587eb |
children | f97cdf01aa31 |
rev | line source |
---|---|
mimas@2290 | 1 # SliTaz package receipt. |
mimas@2290 | 2 |
mimas@2290 | 3 PACKAGE="vala" |
pankso@12808 | 4 VERSION="0.16.0" |
mimas@2290 | 5 CATEGORY="development" |
mimas@2290 | 6 SHORT_DESC="Compiler for the GObject type system" |
mimas@2290 | 7 MAINTAINER="mimas@slitaz.org" |
pankso@12189 | 8 TARBALL="$PACKAGE-$VERSION.tar.xz" |
mimas@2290 | 9 WEB_SITE="http://live.gnome.org/Vala" |
slaxemulator@9589 | 10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
jozee@4975 | 11 TAGS="compiler" |
mimas@2290 | 12 |
slaxemulator@10306 | 13 DEPENDS="glib" |
slaxemulator@10306 | 14 BUILD_DEPENDS="flex bison glib-dev pkg-config" |
slaxemulator@10306 | 15 |
mimas@2290 | 16 # Rules to configure and make the package. |
mimas@2290 | 17 compile_rules() |
mimas@2290 | 18 { |
mimas@2290 | 19 cd $src |
pankso@12808 | 20 ./configure $CONFIGURE_ARGS && |
slaxemulator@10306 | 21 make && make install |
mimas@2290 | 22 } |
mimas@2290 | 23 |
mimas@2290 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
mimas@2290 | 25 genpkg_rules() |
mimas@2290 | 26 { |
pankso@5255 | 27 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@12808 | 28 cp -a $install/usr/bin $fs/usr |
pankso@12808 | 29 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@12808 | 30 cp -a $install/usr/lib/pkgconfig $fs/usr/lib |
pankso@12808 | 31 cp -a $install/usr/include $fs/usr |
pankso@12808 | 32 cp -a $install/usr/share/vala* $fs/usr/share |
pankso@12808 | 33 cp -a $install/usr/share/aclocal $fs/usr/share |
mimas@2290 | 34 } |