wok annotate vte/receipt @ rev 16249
ARM: add vte with sakura
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Apr 03 23:22:36 2014 +0200 (2014-04-03) |
parents | 4c1fa84f1dd7 |
children | a1fff9cb2cd5 |
rev | line source |
---|---|
pankso@189 | 1 # SliTaz package receipt. |
pankso@189 | 2 |
pankso@189 | 3 PACKAGE="vte" |
pankso@15749 | 4 VERSION="0.28.2" # Also --> python-vte |
pankso@211 | 5 CATEGORY="utilities" |
pascal@228 | 6 SHORT_DESC="Terminal capabilities for GTK+ widgets." |
pankso@189 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
slaxemulator@7234 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@189 | 10 WEB_SITE="http://www.gnome.org/" |
slaxemulator@10244 | 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
pankso@16249 | 12 HOST_ARCH="i486 arm" |
pankso@189 | 13 |
slaxemulator@11144 | 14 DEPENDS="gtk+ ncurses xorg-libXdamage" |
pankso@16249 | 15 BUILD_DEPENDS="gtk+-dev ncurses-dev " |
pankso@16249 | 16 |
pankso@16249 | 17 # Handle cross compilation. |
pankso@16249 | 18 case "$ARCH" in |
pankso@16249 | 19 i?86) |
pankso@16249 | 20 BUILD_DEPENDS="pygtk-dev python-dev gobject-introspection-dev |
pankso@16249 | 21 perl perl-xml-parser" |
pankso@16249 | 22 ARCH_ARGS="--enable-introspection=yes" ;; |
pankso@16249 | 23 arm) |
pankso@16249 | 24 ARCH_ARGS="--enable-introspection=no" ;; |
pankso@16249 | 25 esac |
slaxemulator@11144 | 26 |
pankso@189 | 27 # Rules to configure and make the package. |
pankso@189 | 28 compile_rules() |
pankso@189 | 29 { |
pankso@189 | 30 ./configure \ |
pankso@189 | 31 --libexecdir=/usr/lib/vte \ |
pankso@189 | 32 --with-html-dir=/usr/share/doc \ |
pankso@189 | 33 --with-pcre \ |
slaxemulator@7687 | 34 --disable-static \ |
pascal@2438 | 35 $CONFIGURE_ARGS && |
slaxemulator@10244 | 36 make && make install |
pankso@189 | 37 } |
pankso@189 | 38 |
pankso@189 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@189 | 40 genpkg_rules() |
pankso@189 | 41 { |
pankso@642 | 42 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@12249 | 43 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@12249 | 44 cp -a $install/usr/lib/vte $fs/usr/lib |
pankso@12249 | 45 cp -a $install/usr/share/vte $fs/usr/share |
pankso@189 | 46 } |