wok-4.x annotate vala/receipt @ rev 11192
Up: mercurial to 2.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Nov 03 01:24:32 2011 +0000 (2011-11-03) |
parents | 0e69975e5d9b |
children | c55724b587eb |
rev | line source |
---|---|
mimas@2290 | 1 # SliTaz package receipt. |
mimas@2290 | 2 |
mimas@2290 | 3 PACKAGE="vala" |
slaxemulator@9589 | 4 VERSION="0.12.0" |
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 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
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 |
slaxemulator@10306 | 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 |
mimas@2290 | 28 cp -a $_pkg/usr/bin $fs/usr |
mimas@2290 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@5255 | 30 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib |
pankso@5255 | 31 cp -a $_pkg/usr/include $fs/usr |
slaxemulator@6916 | 32 cp -a $_pkg/usr/share/vala* $fs/usr/share |
slaxemulator@7555 | 33 cp -a $_pkg/usr/share/aclocal $fs/usr/share |
mimas@2290 | 34 } |