# HG changeset patch # User Fabrice THIROUX # Date 1235297778 -3600 # Node ID 9668cfe8bcf66a752abebf58eba2cd483e791cfd # Parent d298823746d9450f85cd2bffa25198d91ab5f497 Added: vala (0.5.7) diff -r d298823746d9 -r 9668cfe8bcf6 vala/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vala/receipt Sun Feb 22 11:16:18 2009 +0100 @@ -0,0 +1,37 @@ +# SliTaz package receipt. + +PACKAGE="vala" +VERSION="0.5.7" +CATEGORY="development" +SHORT_DESC="Compiler for the GObject type system" +MAINTAINER="mimas@slitaz.org" +DEPENDS="glib" +BUILD_DEPENDS="flex bison glib-dev" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://live.gnome.org/Vala" +WGET_URL="http://download.gnome.org/sources/vala/0.5/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make && make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + mkdir -p $fs/usr/share + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib + cp -a $_pkg/usr/share/vala $fs/usr/share + strip $fs/usr/bin/* + strip $fs/usr/lib/*so* +} +