wok-next annotate vala/receipt @ rev 7974

Fix: net-snmp needs -j1 to install correctly
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Jan 17 17:55:29 2011 +0100 (2011-01-17)
parents 433e106036e5
children fa3740a5c4fc
rev   line source
mimas@2290 1 # SliTaz package receipt.
mimas@2290 2
mimas@2290 3 PACKAGE="vala"
slaxemulator@7849 4 VERSION="0.10.2"
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@7849 12 WGET_URL="http://download.gnome.org/sources/$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
mimas@2290 19 ./configure \
mimas@2290 20 --prefix=/usr \
mimas@2290 21 --infodir=/usr/share/info \
mimas@2290 22 --mandir=/usr/share/man \
mimas@2290 23 $CONFIGURE_ARGS &&
mimas@2290 24 make && make DESTDIR=$PWD/_pkg install
mimas@2290 25 }
mimas@2290 26
mimas@2290 27 # Rules to gen a SliTaz package suitable for Tazpkg.
mimas@2290 28 genpkg_rules()
mimas@2290 29 {
pankso@5255 30 mkdir -p $fs/usr/lib $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
pankso@5255 33 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
pankso@5255 34 cp -a $_pkg/usr/include $fs/usr
slaxemulator@6916 35 cp -a $_pkg/usr/share/vala* $fs/usr/share
slaxemulator@7555 36 cp -a $_pkg/usr/share/aclocal $fs/usr/share
mimas@2290 37 }