wok-next annotate 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
rev   line source
pascal@20203 1 # SliTaz package receipt v2.
pankso@9327 2
pankso@9327 3 PACKAGE="qca"
pankso@9327 4 VERSION="2.0.3"
pankso@9327 5 CATEGORY="system-tools"
pankso@9327 6 SHORT_DESC="QCA aims to provide a straightforward and cross-platform crypto API"
pankso@9327 7 MAINTAINER="pankso@slitaz.org"
pascal@14996 8 LICENSE="LGPL2.1"
pankso@9327 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@9327 10 WEB_SITE="http://delta.affinix.com/qca/"
pankso@9327 11 WGET_URL="http://delta.affinix.com/download/qca/${VERSION%.*}/$TARBALL"
pankso@9327 12
pascal@14996 13 BUILD_DEPENDS="Qt4-dev qmake"
pascal@20203 14 SPLIT="qca qca-dev"
pascal@14996 15
pankso@9327 16 # Rules to configure and make the package.
pankso@9327 17 compile_rules()
pankso@9327 18 {
pascal@20203 19 sed -i 's|set(in, n|this->&|' src/botantools/botan/botan/secmem.h
pankso@9327 20 ./configure \
pankso@9327 21 --prefix=/usr \
pankso@9327 22 --certstore-path=/etc/ssl/certs/ca-certificates.crt \
pankso@9327 23 --disable-tests \
pankso@9327 24 --no-separate-debug-info \
pankso@9327 25 --release &&
pankso@9327 26 make && make INSTALL_ROOT=$WOK/$PACKAGE/install install
pankso@9327 27 }
pankso@9327 28
pankso@9327 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@9327 30 genpkg_rules()
pankso@9327 31 {
pascal@20203 32 case $PACKAGE in
pascal@20203 33 qca)
pascal@20203 34 DEPENDS="libQtCore"
pascal@20203 35 mkdir -p $fs/usr/lib
pascal@20203 36 cp -a $install/usr/bin $fs/usr
pascal@20203 37 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@20203 38 ;;
pascal@20203 39 qca-dev)
pascal@20203 40 CAT="development|The qca devel files."
pascal@20206 41 DEPENDS="pkg-config qca"
pascal@20203 42 mkdir -p $fs/usr/lib $fs/usr/share
pascal@20203 43 cp -a $install/usr/include $fs/usr
pascal@20203 44 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
pascal@20203 45 cp -a $install/usr/lib/*.prl $fs/usr/lib
pascal@20203 46 cp -a $install/usr/share/qt $fs/usr/share
pascal@20203 47 ;;
pascal@20203 48 esac
pankso@9327 49 }