wok view qca/receipt @ rev 25003
updated nspr and nspr-dev (4.25 -> 4.33)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 16 14:53:05 2022 +0100 (2022-05-16) |
parents | bb2cea00c7d5 |
children | 505d1daeed6c |
line source
1 # SliTaz package receipt.
3 PACKAGE="qca"
4 VERSION="2.0.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="QCA aims to provide a straightforward and cross-platform crypto API"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://userbase.kde.org/QCA"
11 WGET_URL="http://delta.affinix.com/download/qca/${VERSION%.*}/$TARBALL"
13 DEPENDS="libQtCore"
14 BUILD_DEPENDS="Qt4-dev qmake"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://raw.githubusercontent.com/highfidelity/qca/master/README 2>/dev/null | \
20 sed '/^ New/!d;s|.*in ||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --prefix=/usr \
28 --certstore-path=/etc/ssl/certs/ca-certificates.crt \
29 --disable-tests \
30 --no-separate-debug-info \
31 --release &&
32 make && make INSTALL_ROOT=$WOK/$PACKAGE/install install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 }