wok-current view libxml++/receipt @ rev 25726

Fix xorg-server dep, add libffado, ffado-tools
author Stanislas Leduc <shann@slitaz.org>
date Tue Nov 05 13:39:06 2024 +0000 (2 weeks ago)
parents 65ff25c4de90
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libxml++"
4 VERSION="3.0.1"
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.xz"
10 WEB_SITE="https://sourceforge.net/projects/libxmlplusplus/"
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 HOST_ARCH="i486 x86_64"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
22 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cd $src
30 # Allow build with gcc > 6.
31 # See https://svnweb.freebsd.org/ports?view=revision&revision=431411
32 #patch -p1 < $stuff/build_with_gcc6.patch
34 ./configure --prefix=/usr \
35 --disable-documentation \
36 $CONFIGURE_ARGS &&
37 make &&
38 make DESTDIR=$DESTDIR install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib
45 cp -a $install/usr/lib/*.so* $fs/usr/lib
46 }