wok-current view sratom/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="sratom"
4 VERSION="0.6.12"
5 CATEGORY="development"
6 SHORT_DESC="A library for serialising LV2 atoms to and from RDF, particularly the Turtle syntax."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="ISC"
9 WEB_SITE="https://drobilla.net/software/sratom.html"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://download.drobilla.net/$TARBALL"
14 DEPENDS="gcc83-lib-base serd sord"
15 BUILD_DEPENDS="gcc83 lv2 meson pkg-config serd-dev sord-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 export CC=gcc-83
28 export CXX=g++-83
30 meson _build \
31 --prefix=/usr &&
32 ninja -C _build &&
33 ninja -C _build install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cp -a $install/* $fs
40 }