SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "qca"

# SliTaz package receipt.

PACKAGE="qca"
VERSION="2.0.3"
CATEGORY="system-tools"
SHORT_DESC="QCA aims to provide a straightforward and cross-platform crypto API"
MAINTAINER="pankso@slitaz.org"
LICENSE="LGPL2.1"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="https://userbase.kde.org/QCA"
WGET_URL="https://ftp.osuosl.org/pub/blfs/conglomeration/qca/$TARBALL"

DEPENDS="libQtCore"
BUILD_DEPENDS="Qt4-dev qmake"

# What is the latest version available today?
current_version()
{
    wget -O - https://raw.githubusercontent.com/highfidelity/qca/master/README 2>/dev/null | \
    sed '/^  New/!d;s|.*in ||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure \
        --prefix=/usr \
        --certstore-path=/etc/ssl/certs/ca-certificates.crt \
        --disable-tests \
        --no-separate-debug-info \
        --release &&
    make && make INSTALL_ROOT=$WOK/$PACKAGE/install install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $install/usr/bin $fs/usr
    cp -a $install/usr/lib/*.so* $fs/usr/lib
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)