wok-6.x view vte/receipt @ rev 18145

Add defragfs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 18 16:31:01 2015 +0200 (2015-06-18)
parents a1fff9cb2cd5
children f630a53bd713
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="http://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 ./configure \
31 --libexecdir=/usr/lib/vte \
32 --with-html-dir=/usr/share/doc \
33 --with-pcre \
34 --disable-static \
35 $CONFIGURE_ARGS &&
36 make && make install
37 # add 'Home' and 'End' keys
38 sed -i '9i\ \ \ \ :kh=\\E[H:@7=\\E[F:\\' $install/usr/share/vte/termcap-0.0/xterm
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib $fs/usr/share
45 cp -a $install/usr/lib/*.so* $fs/usr/lib
46 cp -a $install/usr/lib/vte $fs/usr/lib
47 cp -a $install/usr/share/vte $fs/usr/share
48 }