wok-6.x annotate vte/receipt @ rev 15000
Add some GPL2 licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 10 17:00:38 2013 +0000 (2013-08-10) |
parents | d2dd1c452fce |
children | 4c1fa84f1dd7 |
rev | line source |
---|---|
pankso@189 | 1 # SliTaz package receipt. |
pankso@189 | 2 |
pankso@189 | 3 PACKAGE="vte" |
slaxemulator@11144 | 4 VERSION="0.28.2" |
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 { |
slaxemulator@7785 | 35 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') |
pankso@642 | 36 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@12249 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@12249 | 38 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib |
pankso@12249 | 39 cp -a $install/usr/lib/vte $fs/usr/lib |
pankso@12249 | 40 cp -a $install/usr/share/vte $fs/usr/share |
pankso@12249 | 41 |
pankso@12249 | 42 # --> python-vte |
pankso@12249 | 43 rm -rf $fs/usr/lib/python* |
pankso@12249 | 44 rm -rf $fs/usr/share/pygtk |
pankso@12249 | 45 |
pankso@12249 | 46 cp -a $install/usr/lib/$PYTHON_LIB $fs/usr/lib |
pankso@12249 | 47 cp -a $install/usr/share/pygtk $fs/usr/share |
pankso@189 | 48 } |