wok-6.x view vte/receipt @ rev 22308
updated xscavenger (1.4.4 -> 1.4.5)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Nov 14 09:09:20 2019 +0100 (2019-11-14) |
parents | 4464f66eb0d2 |
children | 5d79829fa876 |
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 # Rules to configure and make the package.
28 compile_rules()
29 {
30 patch -p1 -i $stuff/AltKey.patch
31 ./configure \
32 --libexecdir=/usr/lib/vte \
33 --with-html-dir=/usr/share/doc \
34 --with-pcre \
35 --disable-static \
36 $CONFIGURE_ARGS &&
37 make && make install
38 # add 'Home' and 'End' keys
39 #sed -i '9i\ \ \ \ :kh=\\E[H:@7=\\E[F:\\' $install/usr/share/vte/termcap-0.0/xterm
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib $fs/usr/share
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 cp -a $install/usr/lib/vte $fs/usr/lib
48 cp -a $install/usr/share/vte $fs/usr/share
49 }