wok view xmlrpc-c/receipt @ rev 24142

linux-aufs: git checkout problem ?
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Nov 15 08:46:59 2021 +0000 (2021-11-15)
parents 93e703206ff4
children 7dd01dedad38
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="http://xmlrpc-c.sourceforge.net/"
10 TARBALL="$PACKAGE-$VERSION.tgz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 #HOST_ARCH="i486 arm"
14 DEPENDS="gcc-lib-base"
16 current_version()
17 {
18 wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \
19 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
20 sed '/files_name_h/!d;/Stable/!d;s|.*Stable/||;s|/.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 find -name 'Makefile*' | sed 's/Makefile.*/depend.mk/' | \
27 xargs touch -d 197001010000
28 ./configure --prefix=/usr \
29 $CONFIGURE_ARGS &&
30 make -j 1 &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 }