wok-current view vte/receipt @ rev 25416

updated wxWidgets and wxWidgets-dev (3.1.3 -> 3.2.0)
author Hans-G?nter Theisgen
date Thu Aug 04 09:20:59 2022 +0100 (2022-08-04)
parents 86790a278e70
children 5926178cd6fa
line source
1 # SliTaz package receipt.
3 PACKAGE="vte"
4 VERSION="0.28.2" # Also --> python-vte
5 CATEGORY="utilities"
6 SHORT_DESC="Terminal capabilities for GTK+ widgets."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.gnome.org/"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="gtk+ ncurses xorg-libXdamage"
15 BUILD_DEPENDS="gtk+-dev ncurses-dev"
17 # Handle cross compilation.
18 case "$ARCH" in
19 i?86)
20 BUILD_DEPENDS="pygtk-dev python-dev gobject-introspection-dev
21 perl perl-xml-parser ncurses-dev"
22 ARCH_ARGS="--enable-introspection=yes" ;;
23 arm)
24 ARCH_ARGS="--enable-introspection=no" ;;
25 esac
27 current_version()
28 {
29 wget -O - $GNOME_MIRROR/$PACKAGE/$(wget -O - $GNOME_MIRROR/$PACKAGE 2>/dev/null | \
30 sed '/href="[0-9]/!d;s|.*href="||;s|/" .*||' | sort -Vr | sed q) 2>/dev/null | \
31 sed "/href=\"$PACKAGE-[0-9]/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed q
32 }
34 # Rules to configure and make the package.
35 compile_rules()
36 {
37 patch -p1 -i $stuff/AltKey.patch
38 ./configure \
39 --libexecdir=/usr/lib/vte \
40 --with-html-dir=/usr/share/doc \
41 --with-pcre \
42 --disable-static \
43 $CONFIGURE_ARGS &&
44 make && make install
45 # add 'Home' and 'End' keys
46 #sed -i '9i\ \ \ \ :kh=\\E[H:@7=\\E[F:\\' $install/usr/share/vte/termcap-0.0/xterm
47 }
49 # Rules to gen a SliTaz package suitable for Tazpkg.
50 genpkg_rules()
51 {
52 mkdir -p $fs/usr/lib $fs/usr/share
53 cp -a $install/usr/lib/*.so* $fs/usr/lib
54 cp -a $install/usr/lib/vte $fs/usr/lib
55 cp -a $install/usr/share/vte $fs/usr/share
56 }