wok-6.x view vala/receipt @ rev 9118

glibc-dev: ensure necessary packages are built
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 05 13:14:44 2011 +0100 (2011-03-05)
parents 433e106036e5
children fa3740a5c4fc
line source
1 # SliTaz package receipt.
3 PACKAGE="vala"
4 VERSION="0.10.2"
5 CATEGORY="development"
6 SHORT_DESC="Compiler for the GObject type system"
7 MAINTAINER="mimas@slitaz.org"
8 DEPENDS="glib"
9 BUILD_DEPENDS="flex bison glib-dev pkg-config"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://live.gnome.org/Vala"
12 WGET_URL="http://download.gnome.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
13 TAGS="compiler"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make && make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib $fs/usr/share
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
34 cp -a $_pkg/usr/include $fs/usr
35 cp -a $_pkg/usr/share/vala* $fs/usr/share
36 cp -a $_pkg/usr/share/aclocal $fs/usr/share
37 }