wok annotate vte/receipt @ rev 12310

slim: fix bdeps
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 17 12:55:15 2012 +0200 (2012-04-17)
parents cbebb3eed7c2
children 380ffe05937a
rev   line source
pankso@189 1 # SliTaz package receipt.
pankso@189 2
pankso@189 3 PACKAGE="vte"
slaxemulator@11144 4 VERSION="0.28.2"
pankso@211 5 CATEGORY="utilities"
pascal@228 6 SHORT_DESC="Terminal capabilities for GTK+ widgets."
pankso@189 7 MAINTAINER="pankso@slitaz.org"
slaxemulator@7234 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@189 9 WEB_SITE="http://www.gnome.org/"
slaxemulator@10244 10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
pankso@641 11 LOCALE=""
pankso@189 12
slaxemulator@11144 13 DEPENDS="gtk+ ncurses xorg-libXdamage"
pankso@12249 14 BUILD_DEPENDS="pygtk-dev python-dev gtk+-dev perl perl-xml-parser \
pankso@12249 15 intltool ncurses-dev gobject-introspection-dev"
slaxemulator@11144 16
pankso@189 17 # Rules to configure and make the package.
pankso@189 18 compile_rules()
pankso@189 19 {
pankso@189 20 cd $src
pankso@189 21 ./configure \
pankso@189 22 --libexecdir=/usr/lib/vte \
pankso@189 23 --with-html-dir=/usr/share/doc \
pankso@189 24 --with-pcre \
slaxemulator@7687 25 --disable-static \
slaxemulator@7423 26 --enable-introspection \
pascal@2438 27 $CONFIGURE_ARGS &&
slaxemulator@10244 28 make && make install
pankso@189 29 }
pankso@189 30
pankso@189 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@189 32 genpkg_rules()
pankso@189 33 {
slaxemulator@7785 34 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
pankso@642 35 mkdir -p $fs/usr/lib $fs/usr/share
pankso@12249 36 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@12249 37 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
pankso@12249 38 cp -a $install/usr/lib/vte $fs/usr/lib
pankso@12249 39 cp -a $install/usr/share/vte $fs/usr/share
pankso@12249 40
pankso@12249 41 # --> python-vte
pankso@12249 42 rm -rf $fs/usr/lib/python*
pankso@12249 43 rm -rf $fs/usr/share/pygtk
pankso@12249 44
pankso@12249 45 cp -a $install/usr/lib/$PYTHON_LIB $fs/usr/lib
pankso@12249 46 cp -a $install/usr/share/pygtk $fs/usr/share
pankso@189 47 }