wok view vte/receipt @ rev 12391

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