contrib/qca/Pkgfile

29 lines
692 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.
2017-06-19 14:40:20 +02:00
# URL: https://userbase.kde.org/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
2017-06-19 14:40:20 +02: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
2017-06-19 14:40:20 +02:00
install -d build
cd build
2017-06-19 14:40:20 +02: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
2017-06-19 14:40:20 +02:00
make
make DESTDIR=$PKG install
2007-05-15 02:34:50 +02:00
}