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

m4: Added cook_tmp_toolchain function to fix tazwok cook-toolchain.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue May 24 08:08:39 2011 +0000 (2011-05-24)
parents cde9c3abb458
children 4d989daf5de1
rev   line source
pankso@2365 1 # SliTaz package receipt.
pankso@2365 2
pankso@2365 3 PACKAGE="libxml++"
slaxemulator@10231 4 VERSION="2.34.1"
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@10231 10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
erjo@9952 11
pascal@5003 12 DEPENDS="glibmm libsigc++ libxml2 zlib gcc-lib-base"
slaxemulator@10231 13 BUILD_DEPENDS="glibmm-dev libsigc++-dev libxml2-dev zlib-dev mm-common 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 \
slaxemulator@10231 20 --disable-documentation \
slaxemulator@10231 21 $CONFIGURE_ARGS &&
pankso@2365 22 make &&
erjo@9952 23 make DESTDIR=$DESTDIR install
pankso@2365 24 }
pankso@2365 25
pankso@2365 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2365 27 genpkg_rules()
pankso@2365 28 {
pankso@2365 29 mkdir -p $fs/usr/lib
pankso@2365 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@2365 31 }
pankso@2365 32