wok annotate glade3/receipt @ rev 23425

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