wok view vte/receipt @ rev 16349
ARM: remove pkgs that dont build (php is even not cross compiled and python modules are hard to cross)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Apr 13 02:20:46 2014 +0200 (2014-04-13) |
parents | 2676fa7f0f93 |
children | 1d9949f99916 |
line source
1 # SliTaz package receipt.
3 PACKAGE="vte"
4 VERSION="0.28.2" # Also --> python-vte
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 HOST_ARCH="i486 arm"
14 DEPENDS="gtk+ ncurses xorg-libXdamage"
15 BUILD_DEPENDS="gtk+-dev ncurses-dev"
17 # Handle cross compilation.
18 case "$ARCH" in
19 i?86)
20 BUILD_DEPENDS="pygtk-dev python-dev gobject-introspection-dev
21 perl perl-xml-parser ncurses-dev"
22 ARCH_ARGS="--enable-introspection=yes" ;;
23 arm)
24 ARCH_ARGS="--enable-introspection=no" ;;
25 esac
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 --libexecdir=/usr/lib/vte \
32 --with-html-dir=/usr/share/doc \
33 --with-pcre \
34 --disable-static \
35 $CONFIGURE_ARGS &&
36 make && make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib $fs/usr/share
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 cp -a $install/usr/lib/vte $fs/usr/lib
45 cp -a $install/usr/share/vte $fs/usr/share
46 }