wok-current annotate vte/receipt @ rev 11402

Add python-distribute. This is going to be used to replace setuptools. Don't add a provide.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Dec 10 20:28:44 2011 +0000 (2011-12-10)
parents e1b829109f49
children d2dd1c452fce
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"
slaxemulator@11144 14 BUILD_DEPENDS="pygtk-dev python-dev gtk+-dev perl perl-xml-parser intltool ncurses-dev gobject-introspection-dev"
slaxemulator@11144 15
pankso@189 16 # Rules to configure and make the package.
pankso@189 17 compile_rules()
pankso@189 18 {
pankso@189 19 cd $src
pankso@189 20 ./configure \
pankso@189 21 --libexecdir=/usr/lib/vte \
pankso@189 22 --with-html-dir=/usr/share/doc \
pankso@189 23 --with-pcre \
slaxemulator@7687 24 --disable-static \
slaxemulator@7423 25 --enable-introspection \
pascal@2438 26 $CONFIGURE_ARGS &&
slaxemulator@10244 27 make && make install
pankso@189 28 }
pankso@189 29
pankso@189 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@189 31 genpkg_rules()
pankso@189 32 {
slaxemulator@7785 33 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
pankso@642 34 mkdir -p $fs/usr/lib $fs/usr/share
pankso@189 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
slaxemulator@7551 36 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
pankso@189 37 cp -a $_pkg/usr/lib/vte $fs/usr/lib
pankso@642 38 cp -a $_pkg/usr/share/vte $fs/usr/share
slaxemulator@7785 39 cp -a $_pkg/usr/lib/$PYTHON_LIB $fs/usr/lib
slaxemulator@7785 40 cp -a $_pkg/usr/share/pygtk $fs/usr/share
pankso@189 41 }