wok-next annotate libgnomecanvas/receipt @ rev 8658
Automated merge with https://bitbucket.org/gokhlayeh/wok
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Wed Feb 16 05:33:41 2011 +0100 (2011-02-16) |
parents | ffb49473f5e0 |
children | c21e857f0b6e |
rev | line source |
---|---|
pankso@37 | 1 # SliTaz package receipt. |
pankso@37 | 2 |
pankso@37 | 3 PACKAGE="libgnomecanvas" |
slaxemulator@6734 | 4 VERSION="2.30.2" |
pankso@209 | 5 CATEGORY="x-window" |
pankso@37 | 6 SHORT_DESC="GNOME canvas library" |
pankso@37 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@2518 | 8 DEPENDS="gtk+ libglade libart_lgpl xorg-libXdamage" |
slaxemulator@6734 | 9 BUILD_DEPENDS="gtk+-dev libglade-dev intltool libart_lgpl-dev" |
pankso@37 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@37 | 11 WEB_SITE="http://www.gnome.org/" |
slaxemulator@7730 | 12 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
pankso@37 | 13 |
pankso@37 | 14 # Rules to configure and make the package. |
pankso@37 | 15 compile_rules() |
pankso@37 | 16 { |
pankso@37 | 17 cd $src |
pankso@37 | 18 ./configure \ |
pankso@37 | 19 --prefix=/usr \ |
pankso@37 | 20 --infodir=/usr/share/info \ |
pankso@37 | 21 --mandir=/usr/share/man \ |
pankso@37 | 22 --with-html-dir=/usr/share/doc \ |
pascal@2477 | 23 $CONFIGURE_ARGS && |
pascal@2477 | 24 make && |
pankso@37 | 25 make DESTDIR=$PWD/_pkg install |
pankso@37 | 26 } |
pankso@37 | 27 |
pankso@37 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@37 | 29 genpkg_rules() |
pankso@37 | 30 { |
pankso@37 | 31 mkdir -p $fs/usr/lib $fs/usr/share/locale |
pankso@37 | 32 |
pankso@37 | 33 # Copy shared libs |
pankso@37 | 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@37 | 35 cp -a $_pkg/usr/lib/libglade $fs/usr/lib |
pankso@37 | 36 |
pankso@37 | 37 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pankso@37 | 38 |
pankso@37 | 39 # Remove static libs |
pankso@37 | 40 rm $fs/usr/lib/libglade/*/*.*a |
pankso@37 | 41 |
pankso@37 | 42 strip -s $fs/usr/lib/* 2>/dev/null |
pankso@37 | 43 strip $fs/usr/lib/libglade/*/*.so |
pankso@37 | 44 } |
pankso@37 | 45 |