wok annotate vala/receipt @ rev 25508

Up memtest (6.10)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 12 10:26:56 2023 +0000 (21 months ago)
parents e733e84558bd
children ffe3a28f2096
rev   line source
mimas@2290 1 # SliTaz package receipt.
mimas@2290 2
mimas@2290 3 PACKAGE="vala"
pascal@19991 4 VERSION="0.36.4"
mimas@2290 5 CATEGORY="development"
mimas@2290 6 SHORT_DESC="Compiler for the GObject type system"
mimas@2290 7 MAINTAINER="mimas@slitaz.org"
pascal@14996 8 LICENSE="LGPL2.1"
pankso@12189 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
pankso@16315 10 WEB_SITE="https://wiki.gnome.org/Projects/Vala"
slaxemulator@9589 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
jozee@4975 12 TAGS="compiler"
pankso@16315 13 HOST_ARCH="i486 arm"
mimas@2290 14
slaxemulator@10306 15 DEPENDS="glib"
slaxemulator@10306 16 BUILD_DEPENDS="flex bison glib-dev pkg-config"
slaxemulator@10306 17
pascal@24111 18 current_version()
pascal@24111 19 {
pascal@24111 20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24111 21 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24111 22 }
pascal@24111 23
mimas@2290 24 # Rules to configure and make the package.
mimas@2290 25 compile_rules()
mimas@2290 26 {
pankso@12808 27 ./configure $CONFIGURE_ARGS &&
slaxemulator@10306 28 make && make install
mimas@2290 29 }
mimas@2290 30
mimas@2290 31 # Rules to gen a SliTaz package suitable for Tazpkg.
mimas@2290 32 genpkg_rules()
mimas@2290 33 {
pankso@5255 34 mkdir -p $fs/usr/lib $fs/usr/share
pankso@12808 35 cp -a $install/usr/bin $fs/usr
pankso@12808 36 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@12808 37 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
pankso@12808 38 cp -a $install/usr/include $fs/usr
pankso@12808 39 cp -a $install/usr/share/vala* $fs/usr/share
pankso@12808 40 cp -a $install/usr/share/aclocal $fs/usr/share
mimas@2290 41 }