wok-next view qca/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
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="devel@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://userbase.kde.org/QCA"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://delta.affinix.com/download/qca/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="Qt4-dev qmake"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 sed -i 's|set(in, n|this->&|' src/botantools/botan/botan/secmem.h
20 ./configure \
21 --prefix=/usr \
22 --certstore-path=/etc/ssl/certs/ca-certificates.crt \
23 --disable-tests \
24 --no-separate-debug-info \
25 --release &&
26 make &&
27 make INSTALL_ROOT=$install install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 qca)
33 DEPENDS="libQtCore"
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 ;;
38 *-dev)
39 mkdir -p $fs/usr/lib $fs/usr/share
40 cp -a $install/usr/include $fs/usr
41 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
42 cp -a $install/usr/lib/*.prl $fs/usr/lib
43 cp -a $install/usr/share/qt $fs/usr/share
44 ;;
45 esac
46 }