SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "reqflow"

# SliTaz package receipt.

PACKAGE="reqflow"
VERSION="1.6.0"
CATEGORY="office"
SHORT_DESC="Tool for traceability of requirements across documents."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
WEB_SITE="http://goeb.github.io/reqflow/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/goeb/reqflow/archive/v$VERSION.tar.gz"

DEPENDS="libxml2 libzip pcre poppler zlib"
BUILD_DEPENDS="libxml2-dev libzip-dev pcre-dev poppler-dev zlib-dev"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    CFLAGS=$(pkg-config --cflags libzip)
    ./configure &&
    make &&
    make install
#    make 2>&1 | sed 's/\.d: No such file/.d: no such file/'
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin
    cp -a $install/usr/bin/reqflow $fs/usr/bin
}
5935 packages and 845883 files in cooking database (Thu Jun 27 00:01:54 2024)