wok-stable annotate libxml++/receipt @ rev 10689
ufr2: old version dont work so up and clean-up receipt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 27 21:15:10 2011 +0200 (2011-05-27) |
parents | cde9c3abb458 |
children |
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 |