wok-6.x view sord/receipt @ rev 25322

cpige: remove -static
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 22 07:58:08 2022 +0000 (2022-07-22)
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 }