wok-current annotate vte/receipt @ rev 15749
vte: save a few Kb (mv .la and gir* file to -dev pkg)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jan 03 11:32:22 2014 +0100 (2014-01-03) |
parents | 380ffe05937a |
children | 2676fa7f0f93 |
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@641 | 12 LOCALE="" |
pankso@189 | 13 |
slaxemulator@11144 | 14 DEPENDS="gtk+ ncurses xorg-libXdamage" |
pankso@12249 | 15 BUILD_DEPENDS="pygtk-dev python-dev gtk+-dev perl perl-xml-parser \ |
pankso@12249 | 16 intltool ncurses-dev gobject-introspection-dev" |
slaxemulator@11144 | 17 |
pankso@189 | 18 # Rules to configure and make the package. |
pankso@189 | 19 compile_rules() |
pankso@189 | 20 { |
pankso@189 | 21 cd $src |
pankso@189 | 22 ./configure \ |
pankso@189 | 23 --libexecdir=/usr/lib/vte \ |
pankso@189 | 24 --with-html-dir=/usr/share/doc \ |
pankso@189 | 25 --with-pcre \ |
slaxemulator@7687 | 26 --disable-static \ |
slaxemulator@7423 | 27 --enable-introspection \ |
pascal@2438 | 28 $CONFIGURE_ARGS && |
slaxemulator@10244 | 29 make && make install |
pankso@189 | 30 } |
pankso@189 | 31 |
pankso@189 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@189 | 33 genpkg_rules() |
pankso@189 | 34 { |
pankso@642 | 35 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@12249 | 36 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@12249 | 37 cp -a $install/usr/lib/vte $fs/usr/lib |
pankso@12249 | 38 cp -a $install/usr/share/vte $fs/usr/share |
pankso@189 | 39 } |