wok-current annotate glade3/receipt @ rev 10564

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