wok-current annotate libgnomecanvas/receipt @ rev 15845
dosfstools: update genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 27 11:23:53 2014 +0000 (2014-01-27) |
parents | 6a3b301b67e5 |
children | 86790a278e70 |
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" |
pascal@14714 | 8 LICENSE="GPL2" |
pankso@37 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@37 | 10 WEB_SITE="http://www.gnome.org/" |
slaxemulator@10209 | 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
pankso@37 | 12 |
pankso@9769 | 13 DEPENDS="gtk+ libglade libart_lgpl xorg-libXdamage xorg-libXcursor" |
gokhlayeh@11394 | 14 BUILD_DEPENDS="gtk+-dev libglade-dev libart_lgpl-dev xorg-libXcursor-dev \ |
gokhlayeh@11394 | 15 intltool" |
pankso@9769 | 16 |
pankso@37 | 17 # Rules to configure and make the package. |
pankso@37 | 18 compile_rules() |
pankso@37 | 19 { |
pankso@37 | 20 cd $src |
pankso@37 | 21 ./configure \ |
pankso@37 | 22 --with-html-dir=/usr/share/doc \ |
pascal@9125 | 23 --enable-glade \ |
pascal@2477 | 24 $CONFIGURE_ARGS && |
slaxemulator@10209 | 25 make && make 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 |
pascal@14714 | 34 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@14714 | 35 cp -a $install/usr/lib/libglade $fs/usr/lib |
pankso@37 | 36 |
pascal@14714 | 37 cp -a $install/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 |