2007-05-15 02:34:50 +02:00
|
|
|
# Description: QCA aims to provide a straightforward and cross-platform crypto API, using Qt.
|
|
|
|
# URL: http://delta.affinix.com/qca/
|
2009-04-30 07:06:10 +00:00
|
|
|
# Maintainer: Jose V Beneyto, sepen at crux dot nu
|
|
|
|
# Packager: Jose V Beneyto, sepen at crux dot nu
|
2008-01-07 18:04:14 +01:00
|
|
|
# Depends on: qt4
|
2007-05-15 02:34:50 +02:00
|
|
|
|
|
|
|
name=qca
|
2010-11-29 15:32:28 +01:00
|
|
|
version=2.0.3
|
2013-11-01 13:54:00 +01:00
|
|
|
release=2
|
|
|
|
source=(http://delta.affinix.com/download/$name/2.0/$name-$version.tar.bz2 \
|
|
|
|
gcc47.patch)
|
2007-05-15 02:34:50 +02:00
|
|
|
|
|
|
|
build() {
|
2008-04-28 17:01:53 +02:00
|
|
|
cd $name-$version
|
2013-11-01 13:54:00 +01:00
|
|
|
|
|
|
|
patch -p1 -i $SRC/gcc47.patch
|
|
|
|
|
2007-05-15 02:34:50 +02:00
|
|
|
./configure --prefix=/usr \
|
2013-11-01 13:54:00 +01:00
|
|
|
--qtdir=/usr/share/qt4 \
|
|
|
|
--disable-tests \
|
|
|
|
--release \
|
|
|
|
--no-separate-debug-info
|
|
|
|
|
|
|
|
[ "$CXX" ] || CXX=g++
|
|
|
|
make CXX="$CXX" $MAKEFLAGS
|
2008-04-28 17:01:53 +02:00
|
|
|
make INSTALL_ROOT=$PKG install
|
2013-11-01 13:54:00 +01:00
|
|
|
|
2008-04-28 17:01:53 +02:00
|
|
|
mv $PKG/usr/share/man $PKG/usr
|
2013-11-01 13:54:00 +01:00
|
|
|
rm $PKG/usr/share/qca/certs/README
|
2007-05-15 02:34:50 +02:00
|
|
|
}
|