wok view reqflow/receipt @ rev 25457

Normazile https://sourceforge.net/projects web_sites
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 23 08:28:09 2022 +0000 (2022-09-23)
parents 08ced20655f5
children 0262035dc1e7
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 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 CFLAGS=$(pkg-config --cflags libzip)
27 ./configure &&
28 make &&
29 make install
30 # make 2>&1 | sed 's/\.d: No such file/.d: no such file/'
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/bin
37 cp -a $install/usr/bin/reqflow $fs/usr/bin
38 }