wok-current view glade3/receipt @ rev 21582
Use python-setuptools as bdeps (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 19 19:45:04 2019 +0200 (2019-05-19) |
parents | 10e6c72b2c15 |
children | c223f38b1f12 |
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 LICENSE="LGPL"
9 SUGGESTED="python"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="https://glade.gnome.org/"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 DEPENDS="gtk+ libglade xorg-libXdamage"
15 BUILD_DEPENDS="intltool libxml2-dev expat-dev python gtk+-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --with-html-dir=/usr/share/doc \
24 --disable-scrollkeeper \
25 $CONFIGURE_ARGS
26 # Doc doesn't built
27 sed -i 's/= help/=/' Makefile
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 cp -a $install/usr/lib/glade3 $fs/usr/lib
39 rm $fs/usr/lib/glade3/modules/*.*a
40 cp -a $install/usr/share/icons/hicolor/24x24/apps/* \
41 $fs/usr/share/pixmaps
42 cp -a $install/usr/share/glade3 $fs/usr/share
43 }