contrib/qca/Pkgfile

31 lines
772 B
Plaintext
Raw Normal View History

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 09:06:10 +02:00
# Maintainer: Jose V Beneyto, sepen at crux dot nu
# Packager: Jose V Beneyto, sepen at crux dot nu
# 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
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
patch -p1 -i $SRC/gcc47.patch
2007-05-15 02:34:50 +02:00
./configure --prefix=/usr \
--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
2008-04-28 17:01:53 +02:00
mv $PKG/usr/share/man $PKG/usr
rm $PKG/usr/share/qca/certs/README
2007-05-15 02:34:50 +02:00
}