wok-6.x annotate vte/receipt @ rev 16253

nettle, vte: fix bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 04 07:39:36 2014 +0000 (2014-04-04)
parents 2676fa7f0f93
children 1d9949f99916
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
pankso@189 37 }
pankso@189 38
pankso@189 39 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@189 40 genpkg_rules()
pankso@189 41 {
pankso@642 42 mkdir -p $fs/usr/lib $fs/usr/share
pankso@12249 43 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@12249 44 cp -a $install/usr/lib/vte $fs/usr/lib
pankso@12249 45 cp -a $install/usr/share/vte $fs/usr/share
pankso@189 46 }