wok view libglade/receipt @ rev 10789
Up: slitaz-tools (4.3) - Use source Makefile to install files and so clean up receipt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jun 01 22:36:01 2011 +0200 (2011-06-01) |
parents | 0f8dcbf8807b |
children | d883f22d45ad |
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 DEPENDS="gtk+ xorg-libXdamage"
9 BUILD_DEPENDS="gtk+ gtk+-dev pkg-config libxml2-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.jamesh.id.au/software/libglade/"
12 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure &&
19 make &&
20 make DESTDIR=$DESTDIR install
21 mkdir -p $DESTDIR/usr/bin
22 [ -f libglade-convert ] && cp -a libglade-convert $DESTDIR/usr/bin
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 cp -a $_pkg/usr/bin $fs/usr
32 chmod +x $fs/usr/bin/*
33 }