wok-next view vte/receipt @ rev 12115
Fix usb-modeswitch-data build
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Mar 13 09:31:10 2012 +0100 (2012-03-13) |
parents | e1b829109f49 |
children | d2dd1c452fce |
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 intltool ncurses-dev gobject-introspection-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --libexecdir=/usr/lib/vte \
22 --with-html-dir=/usr/share/doc \
23 --with-pcre \
24 --disable-static \
25 --enable-introspection \
26 $CONFIGURE_ARGS &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
34 mkdir -p $fs/usr/lib $fs/usr/share
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
37 cp -a $_pkg/usr/lib/vte $fs/usr/lib
38 cp -a $_pkg/usr/share/vte $fs/usr/share
39 cp -a $_pkg/usr/lib/$PYTHON_LIB $fs/usr/lib
40 cp -a $_pkg/usr/share/pygtk $fs/usr/share
41 }