wok-next annotate libxml++/receipt @ rev 2365
Add libxml++ (C++ wrapper for the libxml)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Mar 05 11:49:41 2009 +0100 (2009-03-05) |
parents | |
children | a714cd6d9d90 |
rev | line source |
---|---|
pankso@2365 | 1 # SliTaz package receipt. |
pankso@2365 | 2 |
pankso@2365 | 3 PACKAGE="libxml++" |
pankso@2365 | 4 VERSION="2.24.3" |
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/" |
pankso@2365 | 10 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/libxml++/2.24/$TARBALL" |
pankso@2365 | 11 |
pankso@2365 | 12 # Rules to configure and make the package. |
pankso@2365 | 13 compile_rules() |
pankso@2365 | 14 { |
pankso@2365 | 15 cd $src |
pankso@2365 | 16 ./configure \ |
pankso@2365 | 17 --prefix=/usr \ |
pankso@2365 | 18 --infodir=/usr/share/info \ |
pankso@2365 | 19 --mandir=/usr/share/man \ |
pankso@2365 | 20 $CONFIGURE_ARGS && |
pankso@2365 | 21 make && |
pankso@2365 | 22 make DESTDIR=$PWD/_pkg 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 |