wok-6.x view libglade/receipt @ rev 24451

updated cyrus-imapd and cyrus-imapd-dev (3.0.13 -> 3.4.3)
author Hans-G?nter Theisgen
date Tue Feb 15 14:10:08 2022 +0100 (2022-02-15)
parents 62b66edb40b5
children 870e1ce31226
line source
1 # SliTaz package receipt.
3 PACKAGE="libglade"
4 VERSION="2.6.4"
5 CATEGORY="x-window"
6 SHORT_DESC="The Glade libs."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.jamesh.id.au/software/libglade/"
11 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="gtk+ xorg-libXdamage"
15 BUILD_DEPENDS="gtk+ gtk+-dev pkg-config libxml2-dev expat-dev"
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 sed -i '/DG_DISABLE_DEPRECATED/d' glade/Makefile.in || exit 1
28 ./configure $CONFIGURE_ARGS 2>&1 | grep -v POTFILES.in &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 mkdir -p $DESTDIR/usr/bin
32 [ -f libglade-convert ] && cp -a libglade-convert $DESTDIR/usr/bin
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 cp -a $install/usr/bin $fs/usr
42 chmod +x $fs/usr/bin/*
43 }