wok-next view qca/receipt @ rev 20634
oxine: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 27 12:51:30 2018 +0200 (2018-04-27) |
parents | 8bf043780c63 |
children | d2950281f122 |
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://delta.affinix.com/qca/"
11 WGET_URL="http://delta.affinix.com/download/qca/${VERSION%.*}/$TARBALL"
13 BUILD_DEPENDS="Qt4-dev qmake"
14 SPLIT="qca qca-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 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 && make INSTALL_ROOT=$WOK/$PACKAGE/install install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 case $PACKAGE in
33 qca)
34 DEPENDS="libQtCore"
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 ;;
39 qca-dev)
40 mkdir -p $fs/usr/lib $fs/usr/share
41 cp -a $install/usr/include $fs/usr
42 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
43 cp -a $install/usr/lib/*.prl $fs/usr/lib
44 cp -a $install/usr/share/qt $fs/usr/share
45 ;;
46 esac
47 }