wok-current view vala/receipt @ rev 25695

Up linux 5.10.214, Patch xorg-server (CVE-2024-31080, CVE-2024-31081, CVE-2024-31082, CVE-2024-31083)
author Stanislas Leduc <shann@slitaz.org>
date Thu Apr 04 08:53:51 2024 +0000 (2 months ago)
parents 6831608a1b2a
children
line source
1 # SliTaz package receipt.
3 PACKAGE="vala"
4 VERSION="0.54.6"
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="https://wiki.gnome.org/Projects/Vala"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
12 TAGS="compiler"
13 HOST_ARCH="i486 arm"
15 DEPENDS="glib"
16 BUILD_DEPENDS="automake autoconf libtool flex bison \
17 glib-dev pkg-config"
19 current_version()
20 {
21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
22 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # Patch to avoid graphviz dep
29 # See vala.SlackBuild
30 # thanks openembedded team and Pat :)
31 patch -p1 < $stuff/disable-graphviz.patch
32 patch -p1 < $stuff//no.gvc-compat.c.diff
34 autoreconf -vif
36 # Hack to build vala himself
37 # Thanks Pat again ;)
38 PATH=$(pwd)/compiler:$PATH
40 ./configure \
41 --prefix=/usr \
42 --libdir=/usr/lib \
43 --disable-graphviz \
44 $CONFIGURE_ARGS &&
45 make && make install
46 }
48 # Rules to gen a SliTaz package suitable for Tazpkg.
49 genpkg_rules()
50 {
51 mkdir -p $fs/usr/lib $fs/usr/share
52 cp -a $install/usr/bin $fs/usr
53 cp -a $install/usr/lib/*.so* $fs/usr/lib
54 cp -a $install/usr/lib/vala* $fs/usr/lib
55 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
56 cp -a $install/usr/include $fs/usr
57 cp -a $install/usr/share/vala* $fs/usr/share
58 cp -a $install/usr/share/aclocal $fs/usr/share
60 # Ensure remove .la files
61 find $fs -name "*.la" -delete
62 }