wok view vte/receipt @ rev 9835

gnupg: clean up and fixed BUILD_DEPENDS
author Christopher Rogers <slaxemulator@gmail.com>
date Sun May 15 12:57:23 2011 +0000 (2011-05-15)
parents 57e07246c18b
children e1b829109f49
line source
1 # SliTaz package receipt.
3 PACKAGE="vte"
4 VERSION="0.26.2"
5 CATEGORY="utilities"
6 SHORT_DESC="Terminal capabilities for GTK+ widgets."
7 DEPENDS="gtk+ ncurses xorg-libXdamage"
8 BUILD_DEPENDS="pygtk-dev gtk+-dev perl perl-xml-parser intltool ncurses-dev gobject-introspection-dev"
9 MAINTAINER="pankso@slitaz.org"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.gnome.org/"
12 WGET_URL="ftp://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
13 LOCALE=""
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --libexecdir=/usr/lib/vte \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 --with-html-dir=/usr/share/doc \
25 --with-pcre \
26 --disable-static \
27 --enable-introspection \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$PWD/_pkg install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
37 mkdir -p $fs/usr/lib $fs/usr/share
38 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
39 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
40 cp -a $_pkg/usr/lib/vte $fs/usr/lib
41 cp -a $_pkg/usr/lib/vte-0.0 $fs/usr/lib
42 cp -a $_pkg/usr/share/vte $fs/usr/share
43 cp -a $_pkg/usr/lib/$PYTHON_LIB $fs/usr/lib
44 cp -a $_pkg/usr/share/pygtk $fs/usr/share
45 }