wok view libglade/receipt @ rev 14714
lib[a-n]*: add LICENSE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 11 10:41:23 2013 +0200 (2013-06-11) |
parents | 0f005c2005cb |
children | 3b8da0bc3a5d |
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="GPL2"
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"
13 DEPENDS="gtk+ xorg-libXdamage"
14 BUILD_DEPENDS="gtk+ gtk+-dev pkg-config libxml2-dev expat-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i '/DG_DISABLE_DEPRECATED/d' glade/Makefile.in || exit 1
21 ./configure $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 mkdir -p $DESTDIR/usr/bin
25 [ -f libglade-convert ] && cp -a libglade-convert $DESTDIR/usr/bin
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 cp -a $install/usr/bin $fs/usr
35 chmod +x $fs/usr/bin/*
36 }