wok-6.x annotate libgnomecanvas/receipt @ rev 21489
posixovl: update xattr.h path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 01 16:45:54 2019 +0200 (2019-05-01) |
parents | 4904e3d374a9 |
children | 6831608a1b2a |
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" |
pascal@20421 | 10 WEB_SITE="https://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 |