wok-next view vte/receipt @ rev 19819
gstreamer0: update for the new bison version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 29 12:09:11 2017 +0200 (2017-07-29) |
parents | 4464f66eb0d2 |
children | 0ed344a8daed |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="vte"
4 VERSION="0.46.1"
5 CATEGORY="utilities"
6 SHORT_DESC="Terminal capabilities for GTK+ widgets"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.gnome.org/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="pygtk-dev python-dev gobject-introspection-dev perl \
16 perl-xml-parser ncurses-dev"
17 BUILD_DEPENDS_arm="gtk+-dev ncurses-dev"
18 SPLIT="vte-terminal python-vte vte-dev"
20 BUILD_DEPENDS="automake gettext gobject-introspection-dev vala intltool \
21 pango-dev gtk+3-dev pcre2-dev gnutls-dev"
23 # Handle cross compilation.
24 case "$ARCH" in
25 i?86) ARCH_ARGS="--enable-introspection=yes";;
26 arm) ARCH_ARGS="--enable-introspection=no";;
27 esac
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 # http://www.linuxfromscratch.org/blfs/view/stable/gnome/vte.html
33 sed -i '/Werror/d' configure.ac &&
34 autoreconf &&
36 ./configure \
37 --sysconfdir=/etc \
38 --disable-static \
39 $CONFIGURE_ARGS $ARCH_ARGS &&
40 make -j1 && make install
42 # add 'Home' and 'End' keys
43 #sed -i '9i\ \ \ \ :kh=\\E[H:@7=\\E[F:\\' $install/usr/share/vte/termcap-0.0/xterm
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 case $PACKAGE in
50 vte)
51 copy @std
52 DEPENDS="gtk+ ncurses xorg-libXdamage"
53 ;;
54 vte-terminal)
55 copy bin/
56 CAT="development|X Terminal"
57 DEPENDS="expat vte"
58 ;;
59 python-vte)
60 copy python*/ pygtk/
61 CAT="development|terminal capabilities for GTK+ widgets"
62 DEPENDS="vte"
63 ;;
64 vte-dev) copy @dev;;
65 esac
66 }