wok-next view qca/receipt @ rev 20380
qtwebkit: up deps, cflags
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Mon Nov 27 13:21:54 2017 +0100 (2017-11-27) |
parents | be019fcb7da8 |
children | d43bf7aae921 |
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 CAT="development|The qca devel files."
41 DEPENDS="pkg-config qca"
42 mkdir -p $fs/usr/lib $fs/usr/share
43 cp -a $install/usr/include $fs/usr
44 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
45 cp -a $install/usr/lib/*.prl $fs/usr/lib
46 cp -a $install/usr/share/qt $fs/usr/share
47 ;;
48 esac
49 }