mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 02:47:14 +08:00
32 lines
728 B
Bash
32 lines
728 B
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
|
|
pkgname=qca
|
|
pkgver=2.0.3
|
|
pkgrel=2
|
|
pkgdesc="Qt Cryptographic Architecture"
|
|
arch=('i686' 'x86_64')
|
|
url="http://delta.affinix.com/qca/"
|
|
license=('LGPL')
|
|
depends=('qt' 'ca-certificates')
|
|
source=("http://delta.affinix.com/download/qca/2.0/${pkgname}-${pkgver}.tar.bz2")
|
|
md5sums=('fc15bd4da22b8096c51fcfe52d2fa309')
|
|
|
|
build() {
|
|
cd $srcdir/${pkgname}-${pkgver}
|
|
sed -i '217s@set@this->set@' src/botantools/botan/botan/secmem.h &&
|
|
./configure \
|
|
--prefix=/usr \
|
|
--disable-tests \
|
|
--certstore-path=/etc/ssl/certs/ca-certificates.crt \
|
|
--release \
|
|
--no-separate-debug-info
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/${pkgname}-${pkgver}
|
|
make INSTALL_ROOT=$pkgdir install
|
|
}
|