wok-current annotate qtkeychain/receipt @ rev 25458

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