wok-next view qca/receipt @ rev 20990
Remove mate116 stash
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 02 22:23:34 2018 +0300 (2018-10-02) |
parents | d43bf7aae921 |
children | d5aab818505e |
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="pankso@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="qca qca-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=$WOK/$PACKAGE/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 }