wok view serd/receipt @ rev 25395
updated vde2 and vde2-dev (2.3.1 -> 2.3.3)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Aug 01 17:34:00 2022 +0100 (2022-08-01) |
parents | 870e1ce31226 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="serd"
4 VERSION="0.30.12"
5 CATEGORY="development"
6 SHORT_DESC="A lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="ISC"
9 WEB_SITE="https://drobilla.net/software/serd.html"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://download.drobilla.net/$TARBALL"
14 DEPENDS="gcc83-lib-base"
15 BUILD_DEPENDS="gcc83"
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 ./waf configure --prefix=/usr &&
31 ./waf build &&
32 ./waf install --destdir=$DESTDIR
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/lib/lib* $fs/usr/lib
42 }