wok-6.x view xmlrpc-c/receipt @ rev 25465
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 01 08:33:11 2022 +0000 (2022-10-01) |
parents | cec9f8f5726d |
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|.*href="|"https://sourceforge.net|;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 }