wok-6.x view libglade/receipt @ rev 24894
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 08 10:34:41 2022 +0000 (2022-04-08) |
parents | 5d79829fa876 |
children |
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="https://glade.gnome.org/"
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 }