wok-6.x view qtkeychain/receipt @ rev 24727
cookutils: add repo-cooking (used by tank)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 15 10:59:31 2022 +0000 (2022-03-15) |
parents | 04e66a06bae2 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="qtkeychain"
4 VERSION="0.10.0"
5 CATEGORY="security"
6 SHORT_DESC="Platform-independent Qt API for storing passwords securely."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://github.com/frankosterfeld/qtkeychain"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
14 DEPENDS="gcc83-lib-base libQtDBus"
15 BUILD_DEPENDS="cmake gcc83 Qt4-dev qmake"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 export CC=gcc-83
27 export CXX=g++-83
29 mkdir build &&
30 cd build &&
31 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 }