wok-current annotate glade3/receipt @ rev 20668

Up pjsip (2.8)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 21 10:25:55 2019 +0100 (2019-01-21)
parents 9eb51a729bd4
children a78610b2eb47
rev   line source
pankso@615 1 # SliTaz package receipt.
pankso@615 2
pankso@615 3 PACKAGE="glade3"
slaxemulator@9501 4 VERSION="3.8.0"
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@5001 9 SUGGESTED="python"
slaxemulator@7104 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@615 11 WEB_SITE="http://glade.gnome.org/"
slaxemulator@8662 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
pankso@615 13
pascal@15021 14 DEPENDS="gtk+ libglade xorg-libXdamage"
pascal@15021 15 BUILD_DEPENDS="intltool libxml2-dev expat-dev python gtk+-dev"
pascal@15021 16
pankso@615 17 # Rules to configure and make the package.
pankso@615 18 compile_rules()
pankso@615 19 {
pankso@615 20 cd $src
pankso@615 21 ./configure \
pankso@615 22 --prefix=/usr \
pankso@615 23 --with-html-dir=/usr/share/doc \
pascal@1526 24 --disable-scrollkeeper \
pascal@4320 25 $CONFIGURE_ARGS
pascal@4320 26 # Doc doesn't built
pascal@4320 27 sed -i 's/= help/=/' Makefile
pascal@1514 28 make &&
pascal@15021 29 make DESTDIR=$DESTDIR install
pankso@615 30 }
pankso@615 31
pankso@615 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@615 33 genpkg_rules()
pankso@615 34 {
pankso@615 35 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
pascal@15021 36 cp -a $install/usr/bin $fs/usr
pascal@15021 37 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@15021 38 cp -a $install/usr/lib/glade3 $fs/usr/lib
pankso@615 39 rm $fs/usr/lib/glade3/modules/*.*a
pascal@15021 40 cp -a $install/usr/share/icons/hicolor/24x24/apps/* \
pankso@615 41 $fs/usr/share/pixmaps
pascal@15021 42 cp -a $install/usr/share/glade3 $fs/usr/share
pankso@615 43 }
pankso@615 44