wok view qca/receipt @ rev 25598

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 12:03:07 2023 +0000 (17 months ago)
parents 7c0170dd3ecc
children
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="https://ftp.osuosl.org/pub/blfs/conglomeration/qca/$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 }