wok annotate libgnomecanvas/receipt @ rev 14360
electricsheep: fix Makefile (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 18 13:47:04 2013 +0200 (2013-04-18) |
parents | d018c1db28ae |
children | 4904e3d374a9 |
rev | line source |
---|---|
pankso@37 | 1 # SliTaz package receipt. |
pankso@37 | 2 |
pankso@37 | 3 PACKAGE="libgnomecanvas" |
slaxemulator@10209 | 4 VERSION="2.30.3" |
pankso@209 | 5 CATEGORY="x-window" |
pankso@37 | 6 SHORT_DESC="GNOME canvas library" |
pankso@37 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@37 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@37 | 9 WEB_SITE="http://www.gnome.org/" |
slaxemulator@10209 | 10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
pankso@37 | 11 |
pankso@9769 | 12 DEPENDS="gtk+ libglade libart_lgpl xorg-libXdamage xorg-libXcursor" |
gokhlayeh@11394 | 13 BUILD_DEPENDS="gtk+-dev libglade-dev libart_lgpl-dev xorg-libXcursor-dev \ |
gokhlayeh@11394 | 14 intltool" |
pankso@9769 | 15 |
pankso@37 | 16 # Rules to configure and make the package. |
pankso@37 | 17 compile_rules() |
pankso@37 | 18 { |
pankso@37 | 19 cd $src |
pankso@37 | 20 ./configure \ |
pankso@37 | 21 --with-html-dir=/usr/share/doc \ |
pascal@9125 | 22 --enable-glade \ |
pascal@2477 | 23 $CONFIGURE_ARGS && |
slaxemulator@10209 | 24 make && make install |
pankso@37 | 25 } |
pankso@37 | 26 |
pankso@37 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@37 | 28 genpkg_rules() |
pankso@37 | 29 { |
pankso@37 | 30 mkdir -p $fs/usr/lib $fs/usr/share/locale |
pankso@37 | 31 |
pankso@37 | 32 # Copy shared libs |
pankso@37 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@37 | 34 cp -a $_pkg/usr/lib/libglade $fs/usr/lib |
pankso@37 | 35 |
pankso@37 | 36 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pankso@37 | 37 |
pankso@37 | 38 # Remove static libs |
pankso@37 | 39 rm $fs/usr/lib/libglade/*/*.*a |
pankso@37 | 40 } |
pankso@37 | 41 |