wok-4.x view glade3/receipt @ rev 4942

add/improve TAGS k* receipts
author Rohit Joshi <jozee@slitaz.org>
date Tue Feb 16 15:48:54 2010 +0000 (2010-02-16)
parents 0eecc9f79c27
children 9f19aee613be
line source
1 # SliTaz package receipt.
3 PACKAGE="glade3"
4 VERSION="3.6.6"
5 CATEGORY="development"
6 SHORT_DESC="Vector drawing application."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ libglade xorg-libXdamage"
9 BUILD_DEPENDS="gtk+-dev libglade-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://glade.gnome.org/"
12 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/glade3/3.6/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --with-html-dir=/usr/share/doc \
21 --disable-scrollkeeper \
22 $CONFIGURE_ARGS
23 # Doc doesn't built
24 sed -i 's/= help/=/' Makefile
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/usr/lib/glade3 $fs/usr/lib
36 rm $fs/usr/lib/glade3/modules/*.*a
37 cp -a $_pkg/usr/share/icons/hicolor/24x24/apps/* \
38 $fs/usr/share/pixmaps
39 cp -a $_pkg/usr/share/glade3 $fs/usr/share
40 }