wok-current view 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 source
1 # SliTaz package receipt.
3 PACKAGE="sord"
4 VERSION="0.16.12"
5 CATEGORY="development"
6 SHORT_DESC="A lightweight C library for storing RDF data in memory."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="ISC"
9 WEB_SITE="https://drobilla.net/software/sord.html"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://download.drobilla.net/$TARBALL"
14 DEPENDS="pcre serd"
15 BUILD_DEPENDS="meson pcre pkg-config serd-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 meson _build \
28 --prefix=/usr &&
29 ninja -C _build &&
30 ninja -C _build install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cook_copy_folders bin
37 cook_copy_files *.so*
38 }