wok-next view glade3/receipt @ rev 6659

psyco: fix opcodes for python 2.7
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 11 17:24:20 2010 +0200 (2010-10-11)
parents 9f19aee613be
children c843ec446fd7
line source
1 # SliTaz package receipt.
3 PACKAGE="glade3"
4 VERSION="3.6.7"
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 intltool libxml2-dev expat-dev"
10 SUGGESTED="python"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://glade.gnome.org/"
13 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/glade3/3.6/$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 }