wok-next annotate vte/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children e19ff076dc63
rev   line source
al@19814 1 # SliTaz package receipt v2.
pankso@189 2
pankso@189 3 PACKAGE="vte"
al@20657 4 VERSION="0.50.2"
pankso@211 5 CATEGORY="utilities"
al@19814 6 SHORT_DESC="Terminal capabilities for GTK+ widgets"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
al@19844 9 WEB_SITE="https://www.gnome.org/"
al@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/gnome/vte.html"
pankso@189 11
al@19814 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@19814 13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
al@19814 14
al@21017 15 BUILD_DEPENDS="intltool pango-dev gtk3-dev pcre2-dev gnutls-dev \
al@20657 16 gobject-introspection-dev vala gperf"
al@20657 17
al@21017 18 SPLIT="$PACKAGE-terminal $PACKAGE $PACKAGE-dev"
slaxemulator@11144 19
al@20534 20 compile_rules() {
pankso@189 21 ./configure \
slaxemulator@7687 22 --disable-static \
al@21017 23 --enable-introspection \
al@20534 24 $CONFIGURE_ARGS &&
al@20534 25 fix libtool &&
al@20657 26 make &&
al@20657 27 make install || return 1
al@20657 28
al@20657 29 ln -s $(cd $install/usr/lib/pkgconfig; ls vte-*.pc) \
al@20657 30 $install/usr/lib/pkgconfig/vte.pc
al@20657 31 ln -s $(cd $install/usr/bin; ls vte-*) \
al@20657 32 $install/usr/bin/vte
al@19814 33
al@17174 34 # add 'Home' and 'End' keys
psychomaniak@18241 35 #sed -i '9i\ \ \ \ :kh=\\E[H:@7=\\E[F:\\' $install/usr/share/vte/termcap-0.0/xterm
pankso@189 36 }
pankso@189 37
al@20534 38 genpkg_rules() {
al@19814 39 case $PACKAGE in
al@21017 40 *-terminal)
al@19814 41 copy bin/
al@19814 42 CAT="development|X Terminal"
al@21017 43 DEPENDS="glib gtk3 pango vte"
al@19814 44 ;;
al@19844 45 vte)
al@20513 46 copy @std @rm
al@21017 47 DEPENDS="atk cairo glib gtk3 libgnutls libpcre2-8 pango zlib"
al@19844 48 ;;
al@21017 49 *-dev)
al@19844 50 copy @dev
al@19844 51 DEPENDS="vte vte-terminal \
al@21017 52 glib-dev gnutls-dev gtk3-dev pango-dev pcre2-dev zlib-dev"
al@19844 53 ;;
al@19814 54 esac
pankso@189 55 }