wok view reqflow/receipt @ rev 25601

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 18:06:38 2023 +0000 (11 months ago)
parents 5ea0ce1cecc0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="reqflow"
4 VERSION="1.6.0"
5 CATEGORY="office"
6 SHORT_DESC="Tool for traceability of requirements across documents."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://goeb.github.io/reqflow/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/goeb/reqflow/archive/v$VERSION.tar.gz"
14 DEPENDS="libxml2 libzip pcre poppler zlib"
15 BUILD_DEPENDS="libxml2-dev libzip-dev pcre-dev poppler-dev zlib-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 CFLAGS=$(pkg-config --cflags libzip)
28 ./configure &&
29 make &&
30 make install
31 # make 2>&1 | sed 's/\.d: No such file/.d: no such file/'
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/bin
38 cp -a $install/usr/bin/reqflow $fs/usr/bin
39 }