wok-next view vte/receipt @ rev 21051

Small updates.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 30 01:34:53 2018 +0200 (2018-11-30)
parents f48456621a9d
children e19ff076dc63
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="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.gnome.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/gnome/vte.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="intltool pango-dev gtk3-dev pcre2-dev gnutls-dev \
16 gobject-introspection-dev vala gperf"
18 SPLIT="$PACKAGE-terminal $PACKAGE $PACKAGE-dev"
20 compile_rules() {
21 ./configure \
22 --disable-static \
23 --enable-introspection \
24 $CONFIGURE_ARGS &&
25 fix libtool &&
26 make &&
27 make install || return 1
29 ln -s $(cd $install/usr/lib/pkgconfig; ls vte-*.pc) \
30 $install/usr/lib/pkgconfig/vte.pc
31 ln -s $(cd $install/usr/bin; ls vte-*) \
32 $install/usr/bin/vte
34 # add 'Home' and 'End' keys
35 #sed -i '9i\ \ \ \ :kh=\\E[H:@7=\\E[F:\\' $install/usr/share/vte/termcap-0.0/xterm
36 }
38 genpkg_rules() {
39 case $PACKAGE in
40 *-terminal)
41 copy bin/
42 CAT="development|X Terminal"
43 DEPENDS="glib gtk3 pango vte"
44 ;;
45 vte)
46 copy @std @rm
47 DEPENDS="atk cairo glib gtk3 libgnutls libpcre2-8 pango zlib"
48 ;;
49 *-dev)
50 copy @dev
51 DEPENDS="vte vte-terminal \
52 glib-dev gnutls-dev gtk3-dev pango-dev pcre2-dev zlib-dev"
53 ;;
54 esac
55 }