wok-next view vte/receipt @ rev 20881

accessx: fix build
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jul 10 11:20:55 2018 +0300 (2018-07-10)
parents 757d032c55c7
children f48456621a9d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="vte"
4 VERSION="0.50.2"
5 CATEGORY="utilities"
6 SHORT_DESC="Terminal capabilities for GTK+ widgets"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.gnome.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/gnome/vte.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS_arm="gtk+-dev ncurses-dev"
16 BUILD_DEPENDS="intltool pango-dev gtk+3-dev pcre2-dev gnutls-dev \
17 gobject-introspection-dev vala gperf"
19 SPLIT="vte-terminal vte vte-dev"
21 compile_rules() {
22 case "$ARCH" in
23 arm*) ARCH_ARGS="--enable-introspection=no";;
24 *) ARCH_ARGS="--enable-introspection=yes";;
25 esac
27 ./configure \
28 --disable-static \
29 $ARCH_ARGS \
30 $CONFIGURE_ARGS &&
31 fix libtool &&
32 make &&
33 make install || return 1
35 ln -s $(cd $install/usr/lib/pkgconfig; ls vte-*.pc) \
36 $install/usr/lib/pkgconfig/vte.pc
37 ln -s $(cd $install/usr/bin; ls vte-*) \
38 $install/usr/bin/vte
40 # add 'Home' and 'End' keys
41 #sed -i '9i\ \ \ \ :kh=\\E[H:@7=\\E[F:\\' $install/usr/share/vte/termcap-0.0/xterm
42 }
44 genpkg_rules() {
45 case $PACKAGE in
46 vte-terminal)
47 copy bin/
48 CAT="development|X Terminal"
49 DEPENDS="glib gtk+3 pango vte"
50 ;;
51 vte)
52 copy @std @rm
53 DEPENDS="atk cairo glib gtk+3 libgnutls libpcre2-8 pango zlib"
54 ;;
55 vte-dev)
56 copy @dev
57 DEPENDS="vte vte-terminal \
58 glib-dev gnutls-dev gtk+3-dev pango-dev pcre2-dev zlib-dev"
59 ;;
60 esac
61 }