wok-6.x rev 25448
Add scikit-build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 09 09:27:07 2022 +0000 (24 months ago) |
parents | fdf4e6f54d4f |
children | 6023b31d568c |
files | nspr-dev/receipt nspr/receipt scikit-build/receipt sockets/receipt |
line diff
1.1 --- a/nspr-dev/receipt Tue Sep 06 16:17:24 2022 +0000 1.2 +++ b/nspr-dev/receipt Fri Sep 09 09:27:07 2022 +0000 1.3 @@ -6,7 +6,7 @@ 1.4 SHORT_DESC="Nspr development files." 1.5 MAINTAINER="slaxemulator@gmail.com" 1.6 LICENSE="MPL2" 1.7 -WEB_SITE="https://developer.mozilla.org/docs/Mozilla/Projects/NSPR" 1.8 +WEB_SITE="https://www-archive.mozilla.org/projects/nspr/" 1.9 1.10 DEPENDS="nspr pkg-config" 1.11 WANTED="nspr"
2.1 --- a/nspr/receipt Tue Sep 06 16:17:24 2022 +0000 2.2 +++ b/nspr/receipt Fri Sep 09 09:27:07 2022 +0000 2.3 @@ -6,7 +6,7 @@ 2.4 SHORT_DESC="Netscape Portable Runtime." 2.5 MAINTAINER="rocky@slitaz.org" 2.6 LICENSE="MPL2" 2.7 -WEB_SITE="https://developer.mozilla.org/docs/Mozilla/Projects/NSPR" 2.8 +WEB_SITE="https://www-archive.mozilla.org/projects/nspr/" 2.9 2.10 TARBALL="$PACKAGE-$VERSION.tar.gz" 2.11 WGET_URL="https://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${VERSION}/src/${TARBALL}" 2.12 @@ -14,6 +14,7 @@ 2.13 DEPENDS="glibc-base" 2.14 BUILD_DEPENDS="perl" 2.15 2.16 +# What is the latest version available today? 2.17 current_version() 2.18 { 2.19 wget -O - https://hg.mozilla.org/projects/nspr 2>/dev/null | \
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/scikit-build/receipt Fri Sep 09 09:27:07 2022 +0000 3.3 @@ -0,0 +1,33 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="scikit-build" 3.7 +VERSION="0.15.0" 3.8 +CATEGORY="development" 3.9 +SHORT_DESC="Improved build system generator for CPython C, C++, Cython and Fortran extensions." 3.10 +MAINTAINER="pascal.bellard@slitaz.org" 3.11 +LICENSE="MIT" 3.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 3.13 +WEB_SITE="https://scikit-build.readthedocs.io/" 3.14 +WGET_URL="https://github.com/scikit-build/scikit-build/archive/refs/tags/$VERSION.tar.gz" 3.15 + 3.16 +DEPENDS="py3k py3k-setuptools_scm cmake" 3.17 +BUILD_DEPENDS="py3k py3k-setuptools_scm" 3.18 + 3.19 +# What is the latest version available today? 3.20 +current_version() 3.21 +{ 3.22 + wget -O - ${WGET_URL%arch*}releases 2>/dev/null | \ 3.23 + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' 3.24 +} 3.25 + 3.26 +# Rules to configure and make the package. 3.27 +compile_rules() 3.28 +{ 3.29 + python3 setup.py install --root=$DESTDIR 3.30 +} 3.31 + 3.32 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.33 +genpkg_rules() 3.34 +{ 3.35 + cp -a $install/usr $fs 3.36 +}
4.1 --- a/sockets/receipt Tue Sep 06 16:17:24 2022 +0000 4.2 +++ b/sockets/receipt Fri Sep 09 09:27:07 2022 +0000 4.3 @@ -6,11 +6,11 @@ 4.4 SHORT_DESC="C++ Sockets library." 4.5 MAINTAINER="pascal.bellard@slitaz.org" 4.6 LICENSE="GPL2" 4.7 -WEB_SITE="https://www.alhem.net/Sockets/" 4.8 +WEB_SITE="https://web.archive.org/web/20220328044321/https://www.alhem.net/Sockets/" 4.9 4.10 SOURCE="Sockets" 4.11 TARBALL="$SOURCE-$VERSION.tar.gz" 4.12 -WGET_URL="${WEB_SITE}$TARBALL" 4.13 +WGET_URL="https://web.archive.org/web/20150806023209/http://www.alhem.net/Sockets/$TARBALL" 4.14 4.15 DEPENDS="gcc-lib-base" 4.16 BUILD_DEPENDS="e2fsprogs-dev openssl-dev"