wok-6.x view vte/receipt @ rev 7855
Backed out changeset 5f442d2d2ab4
author | Liu Peng <rocky@slitaz.org> |
---|---|
date | Fri Dec 31 08:51:37 2010 +0000 (2010-12-31) |
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 }