wok-next annotate qca/receipt @ rev 21596
updated dos2unix (7.4.0 -> 7.4.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 24 14:10:06 2020 +0100 (2020-06-24) |
parents | d5aab818505e |
children |
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" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
al@21041 | 9 WEB_SITE="https://userbase.kde.org/QCA" |
al@20956 | 10 |
pankso@9327 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@9327 | 12 WGET_URL="http://delta.affinix.com/download/qca/${VERSION%.*}/$TARBALL" |
pankso@9327 | 13 |
pascal@14996 | 14 BUILD_DEPENDS="Qt4-dev qmake" |
al@21020 | 15 SPLIT="$PACKAGE-dev" |
pascal@14996 | 16 |
al@20956 | 17 compile_rules() { |
pascal@20203 | 18 sed -i 's|set(in, n|this->&|' src/botantools/botan/botan/secmem.h |
al@20956 | 19 |
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 && |
al@20956 | 26 make && |
al@21020 | 27 make INSTALL_ROOT=$install install |
pankso@9327 | 28 } |
pankso@9327 | 29 |
al@20956 | 30 genpkg_rules() { |
pascal@20203 | 31 case $PACKAGE in |
al@20956 | 32 qca) |
al@20956 | 33 DEPENDS="libQtCore" |
al@20956 | 34 mkdir -p $fs/usr/lib |
al@20956 | 35 cp -a $install/usr/bin $fs/usr |
al@20956 | 36 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@20956 | 37 ;; |
al@20956 | 38 *-dev) |
al@20956 | 39 mkdir -p $fs/usr/lib $fs/usr/share |
al@20956 | 40 cp -a $install/usr/include $fs/usr |
al@20956 | 41 cp -a $install/usr/lib/pkgconfig $fs/usr/lib |
al@20956 | 42 cp -a $install/usr/lib/*.prl $fs/usr/lib |
al@20956 | 43 cp -a $install/usr/share/qt $fs/usr/share |
al@20956 | 44 ;; |
pascal@20203 | 45 esac |
pankso@9327 | 46 } |