wok-current view libgnomecanvas/receipt @ rev 25356
updated tig (2.5.1 -> 2.5.6)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 27 06:32:16 2022 +0100 (2022-07-27) |
parents | 86790a278e70 |
children |
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 current_version()
18 {
19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
20 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 ./configure \
28 --with-html-dir=/usr/share/doc \
29 --enable-glade \
30 $CONFIGURE_ARGS &&
31 make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib $fs/usr/share/locale
39 # Copy shared libs
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 cp -a $install/usr/lib/libglade $fs/usr/lib
43 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
45 # Remove static libs
46 rm $fs/usr/lib/libglade/*/*.*a
47 }