# HG changeset patch # User Pascal Bellard # Date 1662715627 0 # Node ID 03fa4e9f1f0bcc0517f95583aa9a32ebb88d1734 # Parent fdf4e6f54d4fefac5838d71b6a87a8ea1d734b8b Add scikit-build diff -r fdf4e6f54d4f -r 03fa4e9f1f0b nspr-dev/receipt --- a/nspr-dev/receipt Tue Sep 06 16:17:24 2022 +0000 +++ b/nspr-dev/receipt Fri Sep 09 09:27:07 2022 +0000 @@ -6,7 +6,7 @@ SHORT_DESC="Nspr development files." MAINTAINER="slaxemulator@gmail.com" LICENSE="MPL2" -WEB_SITE="https://developer.mozilla.org/docs/Mozilla/Projects/NSPR" +WEB_SITE="https://www-archive.mozilla.org/projects/nspr/" DEPENDS="nspr pkg-config" WANTED="nspr" diff -r fdf4e6f54d4f -r 03fa4e9f1f0b nspr/receipt --- a/nspr/receipt Tue Sep 06 16:17:24 2022 +0000 +++ b/nspr/receipt Fri Sep 09 09:27:07 2022 +0000 @@ -6,7 +6,7 @@ SHORT_DESC="Netscape Portable Runtime." MAINTAINER="rocky@slitaz.org" LICENSE="MPL2" -WEB_SITE="https://developer.mozilla.org/docs/Mozilla/Projects/NSPR" +WEB_SITE="https://www-archive.mozilla.org/projects/nspr/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${VERSION}/src/${TARBALL}" @@ -14,6 +14,7 @@ DEPENDS="glibc-base" BUILD_DEPENDS="perl" +# What is the latest version available today? current_version() { wget -O - https://hg.mozilla.org/projects/nspr 2>/dev/null | \ diff -r fdf4e6f54d4f -r 03fa4e9f1f0b scikit-build/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scikit-build/receipt Fri Sep 09 09:27:07 2022 +0000 @@ -0,0 +1,33 @@ +# SliTaz package receipt. + +PACKAGE="scikit-build" +VERSION="0.15.0" +CATEGORY="development" +SHORT_DESC="Improved build system generator for CPython C, C++, Cython and Fortran extensions." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="MIT" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="https://scikit-build.readthedocs.io/" +WGET_URL="https://github.com/scikit-build/scikit-build/archive/refs/tags/$VERSION.tar.gz" + +DEPENDS="py3k py3k-setuptools_scm cmake" +BUILD_DEPENDS="py3k py3k-setuptools_scm" + +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%arch*}releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + +# Rules to configure and make the package. +compile_rules() +{ + python3 setup.py install --root=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/usr $fs +} diff -r fdf4e6f54d4f -r 03fa4e9f1f0b sockets/receipt --- a/sockets/receipt Tue Sep 06 16:17:24 2022 +0000 +++ b/sockets/receipt Fri Sep 09 09:27:07 2022 +0000 @@ -6,11 +6,11 @@ SHORT_DESC="C++ Sockets library." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" -WEB_SITE="https://www.alhem.net/Sockets/" +WEB_SITE="https://web.archive.org/web/20220328044321/https://www.alhem.net/Sockets/" SOURCE="Sockets" TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="${WEB_SITE}$TARBALL" +WGET_URL="https://web.archive.org/web/20150806023209/http://www.alhem.net/Sockets/$TARBALL" DEPENDS="gcc-lib-base" BUILD_DEPENDS="e2fsprogs-dev openssl-dev"