wok-next view vte/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents e19ff076dc63
children
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 COOKOPTS="force-arch" # different .h, .vapi
17 BUILD_DEPENDS="intltool pango-dev gtk3-dev pcre2-dev gnutls-dev \
18 gobject-introspection-dev vala gperf"
20 SPLIT="$PACKAGE-terminal $PACKAGE $PACKAGE-dev"
22 compile_rules() {
23 ./configure \
24 --disable-static \
25 --enable-introspection \
26 $CONFIGURE_ARGS &&
27 fix libtool &&
28 make &&
29 make install || return 1
31 ln -s $(cd $install/usr/lib/pkgconfig; ls vte-*.pc) \
32 $install/usr/lib/pkgconfig/vte.pc
33 ln -s $(cd $install/usr/bin; ls vte-*) \
34 $install/usr/bin/vte
36 # add 'Home' and 'End' keys
37 #sed -i '9i\ \ \ \ :kh=\\E[H:@7=\\E[F:\\' $install/usr/share/vte/termcap-0.0/xterm
38 }
40 genpkg_rules() {
41 case $PACKAGE in
42 *-terminal)
43 copy bin/
44 CAT="development|X Terminal"
45 DEPENDS="glib gtk3 pango vte"
46 ;;
47 vte)
48 copy @std @rm
49 DEPENDS="atk libcairo glib gtk3 libgnutls libpcre2-8 pango zlib"
50 ;;
51 *-dev)
52 copy @dev
53 DEPENDS="vte vte-terminal \
54 glib-dev gnutls-dev gtk3-dev pango-dev pcre2-dev zlib-dev"
55 ;;
56 esac
57 }