wok diff vte291/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (3 months ago)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/vte291/receipt	Wed Oct 23 16:19:52 2024 +0100
     1.3 @@ -0,0 +1,53 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="vte291"
     1.7 +VERSION="0.56.4"
     1.8 +CATEGORY="utilities"
     1.9 +SHORT_DESC="Terminal capabilities for GTK+ widgets."
    1.10 +MAINTAINER="maintainer@slitaz.org"
    1.11 +LICENSE="LGPL2"
    1.12 +WEB_SITE="https://wiki.gnome.org/Apps/Terminal/VTE"
    1.13 +
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 +WGET_URL="https://gitlab.gnome.org/GNOME/vte/-/archive/$VERSION/vte-$VERSION.tar.gz"
    1.16 +
    1.17 +HOST_ARCH="i486 arm"
    1.18 +
    1.19 +SUGGESTED="vte291-lang"
    1.20 +DEPENDS="gtk+3 ncurses xorg-libXdamage"
    1.21 +BUILD_DEPENDS="autoconf automake bash gnutls-dev gcc83 gobject-introspection-dev
    1.22 +	gperf gtk+3-dev gtk-doc icu-dev libgio-dev libtool libxml2-tools ncurses-dev
    1.23 +	pango-dev pcre2-dev vala xorg-libXft-dev xorg-libXtst-dev"
    1.24 +
    1.25 +current_version()
    1.26 +{
    1.27 +	wget -O - $GNOME_MIRROR/vte/$(wget -O - $GNOME_MIRROR/vte 2>/dev/null | \
    1.28 +	sed '/href="[0-9]/!d;s|.*href="||;s|/" .*||' | sort -Vr | sed q) 2>/dev/null | \
    1.29 +	sed "/href=\"vte-[0-9]/!d;s|.*vte-||;s|.[a-z].*||" | sort -Vr | sed q
    1.30 +}
    1.31 +
    1.32 +# Rules to configure and make the package.
    1.33 +compile_rules()
    1.34 +{
    1.35 +	# 0.56.4	to avoid "G_GNUC_CHECK_VERSION" is not defined
    1.36 +	sed -i '665,667d' src/parser-glue.hh &&
    1.37 +
    1.38 +	./autogen.sh				\
    1.39 +		CC=gcc-83			\
    1.40 +		CXX=g++-83			\
    1.41 +		--prefix=/usr			\
    1.42 +		--with-html-dir=/usr/share/doc	\
    1.43 +		--with-pcre			\
    1.44 +		--disable-static		\
    1.45 +		$CONFIGURE_ARGS &&
    1.46 +	make &&
    1.47 +	make install
    1.48 +}
    1.49 +
    1.50 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.51 +genpkg_rules()
    1.52 +{
    1.53 +	cook_copy_folders	bin
    1.54 +	cook_copy_folders	etc
    1.55 +	cook_copy_files		*.so*
    1.56 +}