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