wok-current annotate 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 (3 months ago)
parents 65ff25c4de90
children
rev   line source
pankso@2365 1 # SliTaz package receipt.
pankso@2365 2
pankso@2365 3 PACKAGE="libxml++"
shann@25726 4 VERSION="3.0.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"
pascal@14718 8 LICENSE="LGPL2.1"
shann@25726 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@25465 10 WEB_SITE="https://sourceforge.net/projects/libxmlplusplus/"
slaxemulator@10231 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
erjo@9952 12
pascal@5003 13 DEPENDS="glibmm libsigc++ libxml2 zlib gcc-lib-base"
slaxemulator@10231 14 BUILD_DEPENDS="glibmm-dev libsigc++-dev libxml2-dev zlib-dev mm-common pkg-config"
pankso@2365 15
shann@25726 16 HOST_ARCH="i486 x86_64"
shann@25726 17
pascal@25461 18 # What is the latest version available today?
pascal@24111 19 current_version()
pascal@24111 20 {
pascal@24111 21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24111 22 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24111 23 }
pascal@24111 24
pankso@2365 25 # Rules to configure and make the package.
pankso@2365 26 compile_rules()
pankso@2365 27 {
pankso@2365 28 cd $src
shann@25726 29
shann@25726 30 # Allow build with gcc > 6.
shann@25726 31 # See https://svnweb.freebsd.org/ports?view=revision&revision=431411
shann@25726 32 #patch -p1 < $stuff/build_with_gcc6.patch
shann@25726 33
erjo@9952 34 ./configure --prefix=/usr \
slaxemulator@10231 35 --disable-documentation \
slaxemulator@10231 36 $CONFIGURE_ARGS &&
pankso@2365 37 make &&
erjo@9952 38 make DESTDIR=$DESTDIR install
pankso@2365 39 }
pankso@2365 40
pankso@2365 41 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2365 42 genpkg_rules()
pankso@2365 43 {
pankso@2365 44 mkdir -p $fs/usr/lib
pascal@14718 45 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@2365 46 }