wok-current annotate reqflow/receipt @ rev 24303
linux64-aufs: fix git branch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 15 16:48:52 2022 +0000 (2022-01-15) |
parents | 08ced20655f5 |
children |
rev | line source |
---|---|
pascal@16070 | 1 # SliTaz package receipt. |
pascal@16070 | 2 |
pascal@16070 | 3 PACKAGE="reqflow" |
Hans-G?nter@21841 | 4 VERSION="1.6.0" |
pascal@16070 | 5 CATEGORY="office" |
pascal@16070 | 6 SHORT_DESC="Tool for traceability of requirements across documents." |
pascal@16070 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16070 | 8 LICENSE="GPL2" |
Hans-G?nter@21841 | 9 WEB_SITE="http://goeb.github.io/reqflow/" |
Hans-G?nter@21841 | 10 |
pascal@16070 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@16070 | 12 WGET_URL="https://github.com/goeb/reqflow/archive/v$VERSION.tar.gz" |
pascal@16070 | 13 |
Hans-G?nter@21841 | 14 DEPENDS="libxml2 libzip pcre poppler zlib" |
Hans-G?nter@21841 | 15 BUILD_DEPENDS="libxml2-dev libzip-dev pcre-dev poppler-dev zlib-dev" |
pascal@16070 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
pascal@16070 | 23 # Rules to configure and make the package. |
pascal@16070 | 24 compile_rules() |
pascal@16070 | 25 { |
pascal@16070 | 26 CFLAGS=$(pkg-config --cflags libzip) |
Hans-G?nter@21841 | 27 ./configure && |
Hans-G?nter@21841 | 28 make && |
Hans-G?nter@21841 | 29 make install |
Hans-G?nter@21841 | 30 # make 2>&1 | sed 's/\.d: No such file/.d: no such file/' |
pascal@16070 | 31 } |
pascal@16070 | 32 |
pascal@16070 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16070 | 34 genpkg_rules() |
pascal@16070 | 35 { |
pascal@16070 | 36 mkdir -p $fs/usr/bin |
Hans-G?nter@21841 | 37 cp -a $install/usr/bin/reqflow $fs/usr/bin |
pascal@16070 | 38 } |