wok annotate sratom/receipt @ rev 25397

updated viewnior (1.7 -> 1.8)
author Hans-G?nter Theisgen
date Tue Aug 02 10:30:16 2022 +0100 (22 months ago)
parents 870e1ce31226
children
rev   line source
pascal@13387 1 # SliTaz package receipt.
pascal@13387 2
pascal@13387 3 PACKAGE="sratom"
Hans-G?nter@25328 4 VERSION="0.6.12"
pascal@13387 5 CATEGORY="development"
Hans-G?nter@21966 6 SHORT_DESC="A library for serialising LV2 atoms to and from RDF, particularly the Turtle syntax."
pascal@13387 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15593 8 LICENSE="ISC"
pascal@24894 9 WEB_SITE="https://drobilla.net/software/sratom.html"
Hans-G?nter@21966 10
Hans-G?nter@25328 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
Hans-G?nter@25328 12 WGET_URL="https://download.drobilla.net/$TARBALL"
pascal@13387 13
Hans-G?nter@21966 14 DEPENDS="gcc83-lib-base serd sord"
Hans-G?nter@25328 15 BUILD_DEPENDS="gcc83 lv2 meson pkg-config serd-dev sord-dev"
pascal@13387 16
pascal@24462 17 # What is the latest version available today?
pascal@24462 18 current_version()
pascal@24462 19 {
pascal@24462 20 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
pascal@24462 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24462 22 }
pascal@24462 23
pascal@13387 24 # Rules to configure and make the package.
pascal@13387 25 compile_rules()
pascal@13387 26 {
Hans-G?nter@21966 27 export CC=gcc-83
Hans-G?nter@21966 28 export CXX=g++-83
Hans-G?nter@21966 29
Hans-G?nter@25328 30 meson _build \
Hans-G?nter@25328 31 --prefix=/usr &&
Hans-G?nter@25328 32 ninja -C _build &&
Hans-G?nter@25328 33 ninja -C _build install
pascal@13387 34 }
pascal@13387 35
pascal@13387 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13387 37 genpkg_rules()
pascal@13387 38 {
Hans-G?nter@23668 39 cp -a $install/* $fs
pascal@13387 40 }