wok annotate xmlrpc-c/receipt @ rev 25226
updated python-pynacl (1.3.0 -> 1.4.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 16:46:32 2022 +0100 (2022-07-13) |
parents | 93e703206ff4 |
children | 7dd01dedad38 |
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@10821 | 9 WEB_SITE="http://xmlrpc-c.sourceforge.net/" |
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@24108 | 16 current_version() |
pascal@24108 | 17 { |
pascal@24108 | 18 wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \ |
pascal@24108 | 19 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24108 | 20 sed '/files_name_h/!d;/Stable/!d;s|.*Stable/||;s|/.*||;q' |
pascal@24108 | 21 } |
pascal@24108 | 22 |
pascal@10821 | 23 # Rules to configure and make the package. |
pascal@10821 | 24 compile_rules() |
pascal@10821 | 25 { |
pascal@15106 | 26 find -name 'Makefile*' | sed 's/Makefile.*/depend.mk/' | \ |
pascal@15106 | 27 xargs touch -d 197001010000 |
pankso@16477 | 28 ./configure --prefix=/usr \ |
pascal@10821 | 29 $CONFIGURE_ARGS && |
pascal@16489 | 30 make -j 1 && |
pascal@10821 | 31 make DESTDIR=$DESTDIR install |
pascal@10821 | 32 } |
pascal@10821 | 33 |
pascal@10821 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@10821 | 35 genpkg_rules() |
pascal@10821 | 36 { |
pascal@10821 | 37 mkdir -p $fs/usr/lib |
pascal@15106 | 38 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@10821 | 39 } |