wok annotate vte/receipt @ rev 17712

Add libmatemixer
author Yuri Pourre <yuripourre@gmail.com>
date Wed Mar 04 00:16:27 2015 -0300 (2015-03-04)
parents a1fff9cb2cd5
children f630a53bd713
rev   line source
pankso@189 1 # SliTaz package receipt.
pankso@189 2
pankso@189 3 PACKAGE="vte"
pankso@15749 4 VERSION="0.28.2" # Also --> python-vte
pankso@211 5 CATEGORY="utilities"
pascal@228 6 SHORT_DESC="Terminal capabilities for GTK+ widgets."
pankso@189 7 MAINTAINER="pankso@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
slaxemulator@7234 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@189 10 WEB_SITE="http://www.gnome.org/"
slaxemulator@10244 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
pankso@16249 12 HOST_ARCH="i486 arm"
pankso@189 13
slaxemulator@11144 14 DEPENDS="gtk+ ncurses xorg-libXdamage"
pascal@16253 15 BUILD_DEPENDS="gtk+-dev ncurses-dev"
pankso@16249 16
pankso@16249 17 # Handle cross compilation.
pankso@16249 18 case "$ARCH" in
pankso@16249 19 i?86)
pankso@16249 20 BUILD_DEPENDS="pygtk-dev python-dev gobject-introspection-dev
pascal@16253 21 perl perl-xml-parser ncurses-dev"
pankso@16249 22 ARCH_ARGS="--enable-introspection=yes" ;;
pankso@16249 23 arm)
pankso@16249 24 ARCH_ARGS="--enable-introspection=no" ;;
pankso@16249 25 esac
slaxemulator@11144 26
pankso@189 27 # Rules to configure and make the package.
pankso@189 28 compile_rules()
pankso@189 29 {
pankso@189 30 ./configure \
pankso@189 31 --libexecdir=/usr/lib/vte \
pankso@189 32 --with-html-dir=/usr/share/doc \
pankso@189 33 --with-pcre \
slaxemulator@7687 34 --disable-static \
pascal@2438 35 $CONFIGURE_ARGS &&
slaxemulator@10244 36 make && make install
al@17174 37 # add 'Home' and 'End' keys
al@17174 38 sed -i '9i\ \ \ \ :kh=\\E[H:@7=\\E[F:\\' $install/usr/share/vte/termcap-0.0/xterm
pankso@189 39 }
pankso@189 40
pankso@189 41 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@189 42 genpkg_rules()
pankso@189 43 {
pankso@642 44 mkdir -p $fs/usr/lib $fs/usr/share
pankso@12249 45 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@12249 46 cp -a $install/usr/lib/vte $fs/usr/lib
pankso@12249 47 cp -a $install/usr/share/vte $fs/usr/share
pankso@189 48 }