wok-current annotate xmlrpc-c/receipt @ rev 25727
Add miss stuff folder for libxml++, dbus-c++
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Tue Nov 05 13:46:37 2024 +0000 (2 months ago) |
parents | cec9f8f5726d |
children |
rev | line source |
---|---|
pascal@10821 | 1 # SliTaz package receipt. |
pascal@10821 | 2 |
pascal@10821 | 3 PACKAGE="xmlrpc-c" |
pankso@16477 | 4 VERSION="1.25.28" |
pascal@10821 | 5 CATEGORY="network" |
pascal@10821 | 6 SHORT_DESC="A lightweight RPC library based on XML and HTTP." |
pascal@10821 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15601 | 8 LICENSE="BSD" |
pascal@25465 | 9 WEB_SITE="https://sourceforge.net/projects/xmlrpc-c/" |
pascal@10821 | 10 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@10821 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@16477 | 12 #HOST_ARCH="i486 arm" |
pascal@15106 | 13 |
pascal@10821 | 14 DEPENDS="gcc-lib-base" |
pascal@10821 | 15 |
pascal@25461 | 16 # What is the latest version available today? |
pascal@24108 | 17 current_version() |
pascal@24108 | 18 { |
pascal@24108 | 19 wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \ |
pascal@24108 | 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24108 | 21 sed '/files_name_h/!d;/Stable/!d;s|.*Stable/||;s|/.*||;q' |
pascal@24108 | 22 } |
pascal@24108 | 23 |
pascal@10821 | 24 # Rules to configure and make the package. |
pascal@10821 | 25 compile_rules() |
pascal@10821 | 26 { |
pascal@15106 | 27 find -name 'Makefile*' | sed 's/Makefile.*/depend.mk/' | \ |
pascal@15106 | 28 xargs touch -d 197001010000 |
pankso@16477 | 29 ./configure --prefix=/usr \ |
pascal@10821 | 30 $CONFIGURE_ARGS && |
pascal@16489 | 31 make -j 1 && |
pascal@10821 | 32 make DESTDIR=$DESTDIR install |
pascal@10821 | 33 } |
pascal@10821 | 34 |
pascal@10821 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@10821 | 36 genpkg_rules() |
pascal@10821 | 37 { |
pascal@10821 | 38 mkdir -p $fs/usr/lib |
pascal@15106 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@10821 | 40 } |