wok view xmlrpc-c/receipt @ rev 25707

Up perl-net-pcap (0.21), qtermwidget (0.5.1), youtube-dl-gui (0.3.8)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 05 14:08:34 2024 +0000 (3 months ago)
parents 65ff25c4de90
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xmlrpc-c"
4 VERSION="1.25.28"
5 CATEGORY="network"
6 SHORT_DESC="A lightweight RPC library based on XML and HTTP."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://sourceforge.net/projects/xmlrpc-c/"
10 TARBALL="$PACKAGE-$VERSION.tgz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 #HOST_ARCH="i486 arm"
14 DEPENDS="gcc-lib-base"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
21 sed '/files_name_h/!d;/Stable/!d;s|.*Stable/||;s|/.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 find -name 'Makefile*' | sed 's/Makefile.*/depend.mk/' | \
28 xargs touch -d 197001010000
29 ./configure --prefix=/usr \
30 $CONFIGURE_ARGS &&
31 make -j 1 &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 }