wok-current view glade3/receipt @ rev 24009
linux-zram: typo (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 29 17:07:10 2021 +0000 (2021-01-29) |
parents | a78610b2eb47 |
children | 6831608a1b2a |
line source
1 # SliTaz package receipt.
3 PACKAGE="glade3"
4 VERSION="3.8.6"
5 CATEGORY="development"
6 SHORT_DESC="Vector drawing application."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL"
9 WEB_SITE="https://glade.gnome.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 SUGGESTED="python"
15 DEPENDS="gtk+ libglade xorg-libXdamage"
16 BUILD_DEPENDS="expat-dev gtk+-dev intltool itstool libgnome
17 libxml2-dev python"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --prefix=/usr \
24 --with-html-dir=/usr/share/doc \
25 --disable-scrollkeeper \
26 $CONFIGURE_ARGS
27 # Doc doesn't built
28 sed -i 's/= help/=/' Makefile
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 mkdir -p $fs/usr/share/pixmaps
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 cp -a $install/usr/lib/glade3 $fs/usr/lib
42 rm $fs/usr/lib/glade3/modules/*.*a
43 cp -a $install/usr/share/icons/hicolor/24x24/apps/* \
44 $fs/usr/share/pixmaps
45 cp -a $install/usr/share/glade3 $fs/usr/share
46 }