wok view vte291/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago) |
parents | |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="vte291"
4 VERSION="0.56.4"
5 CATEGORY="utilities"
6 SHORT_DESC="Terminal capabilities for GTK+ widgets."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="LGPL2"
9 WEB_SITE="https://wiki.gnome.org/Apps/Terminal/VTE"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://gitlab.gnome.org/GNOME/vte/-/archive/$VERSION/vte-$VERSION.tar.gz"
14 HOST_ARCH="i486 arm"
16 SUGGESTED="vte291-lang"
17 DEPENDS="gtk+3 ncurses xorg-libXdamage"
18 BUILD_DEPENDS="autoconf automake bash gnutls-dev gcc83 gobject-introspection-dev
19 gperf gtk+3-dev gtk-doc icu-dev libgio-dev libtool libxml2-tools ncurses-dev
20 pango-dev pcre2-dev vala xorg-libXft-dev xorg-libXtst-dev"
22 current_version()
23 {
24 wget -O - $GNOME_MIRROR/vte/$(wget -O - $GNOME_MIRROR/vte 2>/dev/null | \
25 sed '/href="[0-9]/!d;s|.*href="||;s|/" .*||' | sort -Vr | sed q) 2>/dev/null | \
26 sed "/href=\"vte-[0-9]/!d;s|.*vte-||;s|.[a-z].*||" | sort -Vr | sed q
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 # 0.56.4 to avoid "G_GNUC_CHECK_VERSION" is not defined
33 sed -i '665,667d' src/parser-glue.hh &&
35 ./autogen.sh \
36 CC=gcc-83 \
37 CXX=g++-83 \
38 --prefix=/usr \
39 --with-html-dir=/usr/share/doc \
40 --with-pcre \
41 --disable-static \
42 $CONFIGURE_ARGS &&
43 make &&
44 make install
45 }
47 # Rules to gen a SliTaz package suitable for Tazpkg.
48 genpkg_rules()
49 {
50 cook_copy_folders bin
51 cook_copy_folders etc
52 cook_copy_files *.so*
53 }