wok view vte/receipt @ rev 10340

shared-mime-info: Add $CONFIGURE_ARGS.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun May 22 02:24:27 2011 +0000 (2011-05-22)
parents e26d9d190eeb
children cbebb3eed7c2
line source
1 # SliTaz package receipt.
3 PACKAGE="vte"
4 VERSION="0.28.0"
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="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
13 LOCALE=""
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --libexecdir=/usr/lib/vte \
21 --with-html-dir=/usr/share/doc \
22 --with-pcre \
23 --disable-static \
24 --enable-introspection \
25 $CONFIGURE_ARGS &&
26 make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
33 mkdir -p $fs/usr/lib $fs/usr/share
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
36 cp -a $_pkg/usr/lib/vte $fs/usr/lib
37 cp -a $_pkg/usr/share/vte $fs/usr/share
38 cp -a $_pkg/usr/lib/$PYTHON_LIB $fs/usr/lib
39 cp -a $_pkg/usr/share/pygtk $fs/usr/share
40 }