wok-next view vala/receipt @ rev 15054
compiz-libcompizconfig-dev: fix genpkg-rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 12 21:12:36 2013 +0000 (2013-08-12) |
parents | f97cdf01aa31 |
children | c46591bcff38 |
line source
1 # SliTaz package receipt.
3 PACKAGE="vala"
4 VERSION="0.19.0"
5 CATEGORY="development"
6 SHORT_DESC="Compiler for the GObject type system"
7 MAINTAINER="mimas@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://live.gnome.org/Vala"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
12 TAGS="compiler"
14 DEPENDS="glib"
15 BUILD_DEPENDS="flex bison glib-dev pkg-config"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure $CONFIGURE_ARGS &&
22 make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib $fs/usr/share
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/usr/lib/*.so* $fs/usr/lib
31 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
32 cp -a $install/usr/include $fs/usr
33 cp -a $install/usr/share/vala* $fs/usr/share
34 cp -a $install/usr/share/aclocal $fs/usr/share
35 }