wok view glade3/receipt @ rev 10785

geany: fix icon for desktop file (*.desktop use icon in /usr/share/pixmaps, tig pkg was ok before, dont modify it anymore!!!)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jun 01 14:00:48 2011 +0200 (2011-06-01)
parents 565f6ec7e99d
children 9eb51a729bd4
line source
1 # SliTaz package receipt.
3 PACKAGE="glade3"
4 VERSION="3.8.0"
5 CATEGORY="development"
6 SHORT_DESC="Vector drawing application."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ libglade xorg-libXdamage"
9 BUILD_DEPENDS="intltool libxml2-dev expat-dev python"
10 SUGGESTED="python"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://glade.gnome.org/"
13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --with-html-dir=/usr/share/doc \
22 --disable-scrollkeeper \
23 $CONFIGURE_ARGS
24 # Doc doesn't built
25 sed -i 's/= help/=/' Makefile
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 cp -a $_pkg/usr/lib/glade3 $fs/usr/lib
37 rm $fs/usr/lib/glade3/modules/*.*a
38 cp -a $_pkg/usr/share/icons/hicolor/24x24/apps/* \
39 $fs/usr/share/pixmaps
40 cp -a $_pkg/usr/share/glade3 $fs/usr/share
41 }