2007-05-15 02:34:50 +02:00
|
|
|
# Description: QCA aims to provide a straightforward and cross-platform crypto API, using Qt.
|
2017-06-19 22:40:20 +10:00
|
|
|
# URL: https://userbase.kde.org/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
|
2017-06-19 22:40:20 +10:00
|
|
|
version=2.1.3
|
|
|
|
release=1
|
|
|
|
source=(http://download.kde.org/stable/$name/$version/src/$name-$version.tar.xz)
|
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
|
|
|
|
2017-06-19 22:40:20 +10:00
|
|
|
install -d build
|
|
|
|
cd build
|
2013-11-01 13:54:00 +01:00
|
|
|
|
2017-06-19 22:40:20 +10:00
|
|
|
cmake .. \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DBUILD_TESTS=OFF \
|
|
|
|
-DQT4_BUILD=ON \
|
|
|
|
-DQCA_LIBRARY_INSTALL_DIR=/usr/lib \
|
|
|
|
-DQCA_FEATURE_INSTALL_DIR=/usr/share/qt4/mkspecs/features
|
2013-11-01 13:54:00 +01:00
|
|
|
|
2017-06-19 22:40:20 +10:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2007-05-15 02:34:50 +02:00
|
|
|
}
|