wok view libxml++/receipt @ rev 9713

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