wok view libglade/receipt @ rev 22005

added tar-lang 1.32
author Hans-G?nter Theisgen
date Fri Oct 18 17:38:24 2019 +0100 (2019-10-18)
parents a00bf44ed23d
children 5d79829fa876
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 sed -i '/DG_DISABLE_DEPRECATED/d' glade/Makefile.in || exit 1
22 ./configure $CONFIGURE_ARGS 2>&1 | grep -v POTFILES.in &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 mkdir -p $DESTDIR/usr/bin
26 [ -f libglade-convert ] && cp -a libglade-convert $DESTDIR/usr/bin
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 cp -a $install/usr/bin $fs/usr
36 chmod +x $fs/usr/bin/*
37 }