wok annotate libxml++/receipt @ rev 9952

libxml++: Fix build
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed May 18 14:30:23 2011 +0200 (2011-05-18)
parents 5c2b7c37f604
children f2a3ca861fbd
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"
erjo@9952 11
pascal@5003 12 DEPENDS="glibmm libsigc++ libxml2 zlib gcc-lib-base"
slaxemulator@7090 13 BUILD_DEPENDS="glibmm-dev libsigc++-dev libxml2-dev zlib-dev pkg-config"
pankso@2365 14
pankso@2365 15 # Rules to configure and make the package.
pankso@2365 16 compile_rules()
pankso@2365 17 {
pankso@2365 18 cd $src
erjo@9952 19 ./configure --prefix=/usr \
erjo@9952 20 --disable-documentation &&
pankso@2365 21 make &&
erjo@9952 22 make DESTDIR=$DESTDIR install
pankso@2365 23 }
pankso@2365 24
pankso@2365 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2365 26 genpkg_rules()
pankso@2365 27 {
pankso@2365 28 mkdir -p $fs/usr/lib
pankso@2365 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@2365 30 }
pankso@2365 31