wok-next annotate libxml++/receipt @ rev 7896

Up: bash 4.1
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Jan 09 14:02:54 2011 +0100 (2011-01-09)
parents bcedab3e8315
children cde9c3abb458
rev   line source
pankso@2365 1 # SliTaz package receipt.
pankso@2365 2
pankso@2365 3 PACKAGE="libxml++"
slaxemulator@7090 4 VERSION="2.32.0"
pankso@2365 5 CATEGORY="system-tools"
pankso@2365 6 SHORT_DESC="C++ wrapper for the libxml XML parser library."
pankso@2365 7 MAINTAINER="pankso@slitaz.org"
pankso@2365 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@2365 9 WEB_SITE="http://libxmlplusplus.sourceforge.net/"
slaxemulator@7090 10 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
pascal@5003 11 DEPENDS="glibmm libsigc++ libxml2 zlib gcc-lib-base"
slaxemulator@7090 12 BUILD_DEPENDS="glibmm-dev libsigc++-dev libxml2-dev zlib-dev pkg-config"
pankso@2365 13
pankso@2365 14 # Rules to configure and make the package.
pankso@2365 15 compile_rules()
pankso@2365 16 {
pankso@2365 17 cd $src
pankso@2365 18 ./configure \
pankso@2365 19 --prefix=/usr \
pankso@2365 20 --infodir=/usr/share/info \
pankso@2365 21 --mandir=/usr/share/man \
pankso@2365 22 $CONFIGURE_ARGS &&
pankso@2365 23 make &&
pankso@2365 24 make DESTDIR=$PWD/_pkg install
pankso@2365 25 }
pankso@2365 26
pankso@2365 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2365 28 genpkg_rules()
pankso@2365 29 {
pankso@2365 30 mkdir -p $fs/usr/lib
pankso@2365 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@2365 32 }
pankso@2365 33