wok-next annotate libxml++/receipt @ rev 6469
merge
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Sep 29 19:32:25 2010 +0000 (2010-09-29) |
parents | 8752c40cc534 |
children | 5c2b7c37f604 |
rev | line source |
---|---|
pankso@2365 | 1 # SliTaz package receipt. |
pankso@2365 | 2 |
pankso@2365 | 3 PACKAGE="libxml++" |
slaxemulator@6203 | 4 VERSION="2.30.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@6203 | 10 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/libxml++/2.30/$TARBALL" |
pascal@5003 | 11 DEPENDS="glibmm libsigc++ libxml2 zlib gcc-lib-base" |
pankso@2365 | 12 |
pankso@2365 | 13 # Rules to configure and make the package. |
pankso@2365 | 14 compile_rules() |
pankso@2365 | 15 { |
pankso@2365 | 16 cd $src |
pankso@2365 | 17 ./configure \ |
pankso@2365 | 18 --prefix=/usr \ |
pankso@2365 | 19 --infodir=/usr/share/info \ |
pankso@2365 | 20 --mandir=/usr/share/man \ |
pankso@2365 | 21 $CONFIGURE_ARGS && |
pankso@2365 | 22 make && |
pankso@2365 | 23 make DESTDIR=$PWD/_pkg 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 |