wok view glade3/receipt @ rev 25669

Up lapack (3.12.0), less (633), libarchive (3.7.2), liblouis (3.28.0), libmicrohttpd (1.0.1), libpng (1.6.43), libssh (0.10.6), libtasn1 (4.19.0), libtirpc (1.3.4), libvpx (1.14.0), libwebp (1.3.2), logrotate (3.21.0), lua (5.4.6)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 25 16:11:20 2024 +0000 (12 months ago)
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 }