wok-current diff sord/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
parents | 870e1ce31226 |
children |
line diff
1.1 --- a/sord/receipt Fri Apr 08 10:34:41 2022 +0000 1.2 +++ b/sord/receipt Thu Mar 14 20:28:39 2024 +0000 1.3 @@ -1,18 +1,18 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="sord" 1.7 -VERSION="0.16.4" 1.8 +VERSION="0.16.12" 1.9 CATEGORY="development" 1.10 SHORT_DESC="A lightweight C library for storing RDF data in memory." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 LICENSE="ISC" 1.13 WEB_SITE="https://drobilla.net/software/sord.html" 1.14 1.15 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.16 -WGET_URL="http://download.drobilla.net/$TARBALL" 1.17 +TARBALL="$PACKAGE-$VERSION.tar.xz" 1.18 +WGET_URL="https://download.drobilla.net/$TARBALL" 1.19 1.20 DEPENDS="pcre serd" 1.21 -BUILD_DEPENDS="pcre pkg-config serd-dev" 1.22 +BUILD_DEPENDS="meson pcre pkg-config serd-dev" 1.23 1.24 # What is the latest version available today? 1.25 current_version() 1.26 @@ -24,16 +24,15 @@ 1.27 # Rules to configure and make the package. 1.28 compile_rules() 1.29 { 1.30 - ./waf configure --prefix=/usr && 1.31 - ./waf build && 1.32 - ./waf install --destdir=$DESTDIR 1.33 + meson _build \ 1.34 + --prefix=/usr && 1.35 + ninja -C _build && 1.36 + ninja -C _build install 1.37 } 1.38 1.39 # Rules to gen a SliTaz package suitable for Tazpkg. 1.40 genpkg_rules() 1.41 { 1.42 - mkdir -p $fs/usr/lib 1.43 - 1.44 - cp -a $install/usr/bin $fs/usr 1.45 - cp -a $install/usr/lib/lib* $fs/usr/lib 1.46 + cook_copy_folders bin 1.47 + cook_copy_files *.so* 1.48 }