# SliTaz package receipt. PACKAGE="vala" VERSION="0.15.2" CATEGORY="development" SHORT_DESC="Compiler for the GObject type system" MAINTAINER="mimas@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.xz" WEB_SITE="http://live.gnome.org/Vala" WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" TAGS="compiler" DEPENDS="glib" BUILD_DEPENDS="flex bison glib-dev pkg-config" # Rules to configure and make the package. compile_rules() { cd $src ./configure $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib $fs/usr/share cp -a $_pkg/usr/bin $fs/usr cp -a $_pkg/usr/lib/*.so* $fs/usr/lib cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib cp -a $_pkg/usr/include $fs/usr cp -a $_pkg/usr/share/vala* $fs/usr/share cp -a $_pkg/usr/share/aclocal $fs/usr/share }