wok view glade3/receipt @ rev 24729
updated libdnet and libdnet-dev (1.12 -> 1.14)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 15 16:28:57 2022 +0100 (2022-03-15) |
parents | c223f38b1f12 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="glade3"
4 VERSION="3.8.6"
5 CATEGORY="development"
6 SHORT_DESC="Vector drawing application."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL"
9 WEB_SITE="https://glade.gnome.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 SUGGESTED="python"
15 DEPENDS="gtk+ libglade xorg-libXdamage"
16 BUILD_DEPENDS="expat-dev gtk+-dev intltool itstool libgnome
17 libxml2-dev python"
19 current_version()
20 {
21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
22 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --prefix=/usr \
30 --with-html-dir=/usr/share/doc \
31 --disable-scrollkeeper \
32 $CONFIGURE_ARGS
33 # Doc doesn't built
34 sed -i 's/= help/=/' Makefile
35 make &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib
43 mkdir -p $fs/usr/share/pixmaps
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 cp -a $install/usr/lib/glade3 $fs/usr/lib
48 rm $fs/usr/lib/glade3/modules/*.*a
49 cp -a $install/usr/share/icons/hicolor/24x24/apps/* \
50 $fs/usr/share/pixmaps
51 cp -a $install/usr/share/glade3 $fs/usr/share
52 }