wok-stable annotate vte/receipt @ rev 9022
geeqie: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 03 21:37:04 2011 +0100 (2011-03-03) |
parents | 57e07246c18b |
children | e1b829109f49 |
rev | line source |
---|---|
pankso@189 | 1 # SliTaz package receipt. |
pankso@189 | 2 |
pankso@189 | 3 PACKAGE="vte" |
slaxemulator@7423 | 4 VERSION="0.26.2" |
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@7234 | 12 WGET_URL="ftp://ftp.gnome.org/pub/GNOME/sources/$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 --prefix=/usr \ |
pankso@189 | 21 --libexecdir=/usr/lib/vte \ |
pankso@189 | 22 --infodir=/usr/share/info \ |
pankso@189 | 23 --mandir=/usr/share/man \ |
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 && |
pascal@2438 | 29 make && |
pankso@189 | 30 make DESTDIR=$PWD/_pkg install |
pankso@189 | 31 } |
pankso@189 | 32 |
pankso@189 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@189 | 34 genpkg_rules() |
pankso@189 | 35 { |
slaxemulator@7785 | 36 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') |
pankso@642 | 37 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@189 | 38 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
slaxemulator@7551 | 39 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib |
pankso@189 | 40 cp -a $_pkg/usr/lib/vte $fs/usr/lib |
slaxemulator@7551 | 41 cp -a $_pkg/usr/lib/vte-0.0 $fs/usr/lib |
pankso@642 | 42 cp -a $_pkg/usr/share/vte $fs/usr/share |
slaxemulator@7785 | 43 cp -a $_pkg/usr/lib/$PYTHON_LIB $fs/usr/lib |
slaxemulator@7785 | 44 cp -a $_pkg/usr/share/pygtk $fs/usr/share |
pankso@189 | 45 } |