wok view vala/receipt @ rev 11946

add perl-mathround
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 01 10:46:31 2012 +0100 (2012-03-01)
parents 0e69975e5d9b
children c55724b587eb
line source
1 # SliTaz package receipt.
3 PACKAGE="vala"
4 VERSION="0.12.0"
5 CATEGORY="development"
6 SHORT_DESC="Compiler for the GObject type system"
7 MAINTAINER="mimas@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://live.gnome.org/Vala"
10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
11 TAGS="compiler"
13 DEPENDS="glib"
14 BUILD_DEPENDS="flex bison glib-dev pkg-config"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure $CONFIGURE_ARGS &&
21 make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib $fs/usr/share
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
31 cp -a $_pkg/usr/include $fs/usr
32 cp -a $_pkg/usr/share/vala* $fs/usr/share
33 cp -a $_pkg/usr/share/aclocal $fs/usr/share
34 }