wok-current view glade3/receipt @ rev 18789

Add opencv (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 05 11:03:10 2016 +0100 (2016-01-05)
parents 9eb51a729bd4
children a78610b2eb47
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="http://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 }