wok-next view qca/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents d2950281f122
children d457c4e37c1b
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="http://delta.affinix.com/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 }