wok-6.x view libgnomecanvas/receipt @ rev 20919
updated file, libmagic, libmagic-dev, and python-magic (5.30 -> 5.36)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 01 16:28:21 2019 +0100 (2019-03-01) |
parents | 4904e3d374a9 |
children | 6831608a1b2a |
line source
1 # SliTaz package receipt.
3 PACKAGE="libgnomecanvas"
4 VERSION="2.30.3"
5 CATEGORY="x-window"
6 SHORT_DESC="GNOME canvas library"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.gnome.org/"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="gtk+ libglade libart_lgpl xorg-libXdamage xorg-libXcursor"
14 BUILD_DEPENDS="gtk+-dev libglade-dev libart_lgpl-dev xorg-libXcursor-dev \
15 intltool"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --with-html-dir=/usr/share/doc \
23 --enable-glade \
24 $CONFIGURE_ARGS &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib $fs/usr/share/locale
33 # Copy shared libs
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 cp -a $install/usr/lib/libglade $fs/usr/lib
37 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
39 # Remove static libs
40 rm $fs/usr/lib/libglade/*/*.*a
41 }