wok view libxml++/receipt @ rev 25095

Up libkeybinder (0.3.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 18 13:48:16 2022 +0000 (2022-06-18)
parents 6eff489aa802
children 7dd01dedad38
line source
1 # SliTaz package receipt.
3 PACKAGE="libxml++"
4 VERSION="2.34.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="C++ wrapper for the libxml XML parser library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://libxmlplusplus.sourceforge.net/"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="glibmm libsigc++ libxml2 zlib gcc-lib-base"
14 BUILD_DEPENDS="glibmm-dev libsigc++-dev libxml2-dev zlib-dev mm-common pkg-config"
16 current_version()
17 {
18 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
19 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src
26 ./configure --prefix=/usr \
27 --disable-documentation \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }