wok annotate vte/receipt @ rev 10562
openexr: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 25 22:38:15 2011 +0200 (2011-05-25) |
parents | e26d9d190eeb |
children | cbebb3eed7c2 |
rev | line source |
---|---|
pankso@189 | 1 # SliTaz package receipt. |
pankso@189 | 2 |
pankso@189 | 3 PACKAGE="vte" |
slaxemulator@10244 | 4 VERSION="0.28.0" |
pankso@211 | 5 CATEGORY="utilities" |
pascal@228 | 6 SHORT_DESC="Terminal capabilities for GTK+ widgets." |
pascal@2526 | 7 DEPENDS="gtk+ ncurses xorg-libXdamage" |
slaxemulator@7423 | 8 BUILD_DEPENDS="pygtk-dev gtk+-dev perl perl-xml-parser intltool ncurses-dev gobject-introspection-dev" |
pankso@189 | 9 MAINTAINER="pankso@slitaz.org" |
slaxemulator@7234 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@189 | 11 WEB_SITE="http://www.gnome.org/" |
slaxemulator@10244 | 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
pankso@641 | 13 LOCALE="" |
pankso@189 | 14 |
pankso@189 | 15 # Rules to configure and make the package. |
pankso@189 | 16 compile_rules() |
pankso@189 | 17 { |
pankso@189 | 18 cd $src |
pankso@189 | 19 ./configure \ |
pankso@189 | 20 --libexecdir=/usr/lib/vte \ |
pankso@189 | 21 --with-html-dir=/usr/share/doc \ |
pankso@189 | 22 --with-pcre \ |
slaxemulator@7687 | 23 --disable-static \ |
slaxemulator@7423 | 24 --enable-introspection \ |
pascal@2438 | 25 $CONFIGURE_ARGS && |
slaxemulator@10244 | 26 make && make install |
pankso@189 | 27 } |
pankso@189 | 28 |
pankso@189 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@189 | 30 genpkg_rules() |
pankso@189 | 31 { |
slaxemulator@7785 | 32 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') |
pankso@642 | 33 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@189 | 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
slaxemulator@7551 | 35 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib |
pankso@189 | 36 cp -a $_pkg/usr/lib/vte $fs/usr/lib |
pankso@642 | 37 cp -a $_pkg/usr/share/vte $fs/usr/share |
slaxemulator@7785 | 38 cp -a $_pkg/usr/lib/$PYTHON_LIB $fs/usr/lib |
slaxemulator@7785 | 39 cp -a $_pkg/usr/share/pygtk $fs/usr/share |
pankso@189 | 40 } |