wok-current annotate sord/receipt @ rev 25713
Up abiword (3.0.5), libwmf (0.2.13), fix wv url
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Jun 14 11:35:21 2024 +0000 (4 months ago) |
parents | 870e1ce31226 |
children |
rev | line source |
---|---|
pascal@13383 | 1 # SliTaz package receipt. |
pascal@13383 | 2 |
pascal@13383 | 3 PACKAGE="sord" |
Hans-G?nter@25316 | 4 VERSION="0.16.12" |
pascal@13383 | 5 CATEGORY="development" |
pascal@13383 | 6 SHORT_DESC="A lightweight C library for storing RDF data in memory." |
pascal@13383 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15593 | 8 LICENSE="ISC" |
pascal@24894 | 9 WEB_SITE="https://drobilla.net/software/sord.html" |
Hans-G?nter@21930 | 10 |
Hans-G?nter@25316 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
Hans-G?nter@25316 | 12 WGET_URL="https://download.drobilla.net/$TARBALL" |
pascal@13383 | 13 |
Hans-G?nter@21930 | 14 DEPENDS="pcre serd" |
Hans-G?nter@25316 | 15 BUILD_DEPENDS="meson pcre pkg-config serd-dev" |
pascal@13383 | 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@13383 | 24 # Rules to configure and make the package. |
pascal@13383 | 25 compile_rules() |
pascal@13383 | 26 { |
Hans-G?nter@25316 | 27 meson _build \ |
Hans-G?nter@25316 | 28 --prefix=/usr && |
Hans-G?nter@25316 | 29 ninja -C _build && |
Hans-G?nter@25316 | 30 ninja -C _build install |
pascal@13383 | 31 } |
pascal@13383 | 32 |
pascal@13383 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13383 | 34 genpkg_rules() |
pascal@13383 | 35 { |
Hans-G?nter@25316 | 36 cook_copy_folders bin |
Hans-G?nter@25316 | 37 cook_copy_files *.so* |
pascal@13383 | 38 } |