wok-6.x annotate vala/receipt @ rev 9985

Add diggerjs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 18 23:32:19 2011 +0200 (2011-05-18)
parents fa3740a5c4fc
children 6b3ee86041ea
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 DEPENDS="glib"
slaxemulator@6916 9 BUILD_DEPENDS="flex bison glib-dev pkg-config"
mimas@2290 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
mimas@2290 11 WEB_SITE="http://live.gnome.org/Vala"
slaxemulator@9589 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
jozee@4975 13 TAGS="compiler"
mimas@2290 14
mimas@2290 15 # Rules to configure and make the package.
mimas@2290 16 compile_rules()
mimas@2290 17 {
mimas@2290 18 cd $src
pankso@9322 19 ./configure && make && make install
mimas@2290 20 }
mimas@2290 21
mimas@2290 22 # Rules to gen a SliTaz package suitable for Tazpkg.
mimas@2290 23 genpkg_rules()
mimas@2290 24 {
pankso@5255 25 mkdir -p $fs/usr/lib $fs/usr/share
mimas@2290 26 cp -a $_pkg/usr/bin $fs/usr
mimas@2290 27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@5255 28 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
pankso@5255 29 cp -a $_pkg/usr/include $fs/usr
slaxemulator@6916 30 cp -a $_pkg/usr/share/vala* $fs/usr/share
slaxemulator@7555 31 cp -a $_pkg/usr/share/aclocal $fs/usr/share
mimas@2290 32 }