wok view vte/receipt @ rev 15587

nvclock, nss_ldap: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 30 20:43:45 2013 +0000 (2013-11-30)
parents d2dd1c452fce
children 4c1fa84f1dd7
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.gnome.org/"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
12 LOCALE=""
14 DEPENDS="gtk+ ncurses xorg-libXdamage"
15 BUILD_DEPENDS="pygtk-dev python-dev gtk+-dev perl perl-xml-parser \
16 intltool ncurses-dev gobject-introspection-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --libexecdir=/usr/lib/vte \
24 --with-html-dir=/usr/share/doc \
25 --with-pcre \
26 --disable-static \
27 --enable-introspection \
28 $CONFIGURE_ARGS &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
36 mkdir -p $fs/usr/lib $fs/usr/share
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
39 cp -a $install/usr/lib/vte $fs/usr/lib
40 cp -a $install/usr/share/vte $fs/usr/share
42 # --> python-vte
43 rm -rf $fs/usr/lib/python*
44 rm -rf $fs/usr/share/pygtk
46 cp -a $install/usr/lib/$PYTHON_LIB $fs/usr/lib
47 cp -a $install/usr/share/pygtk $fs/usr/share
48 }