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/
|
2008-01-07 18:04:14 +01:00
|
|
|
# Maintainer: Jose V Beneyto, sepen at users dot sourceforge dot net
|
|
|
|
# Packager: Jose V Beneyto, sepen at users dot sourceforge dot net
|
|
|
|
# Depends on: qt4
|
2007-05-15 02:34:50 +02:00
|
|
|
|
|
|
|
name=qca
|
2008-01-07 18:04:14 +01:00
|
|
|
version=2.0.0
|
2008-01-10 17:00:06 +01:00
|
|
|
release=5
|
2008-01-07 18:04:14 +01:00
|
|
|
source=(http://delta.affinix.com/download/${name}/2.0/${name}-${version}.tar.bz2)
|
2007-05-15 02:34:50 +02:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${name}-${version}
|
|
|
|
./configure --prefix=/usr \
|
2008-01-07 18:04:14 +01:00
|
|
|
--qtdir=/usr/share/qt4 \
|
2008-01-08 13:24:36 +01:00
|
|
|
--includedir=/usr/include/qca \
|
|
|
|
--libdir=/usr/lib/qca
|
2007-05-15 02:34:50 +02:00
|
|
|
make
|
2008-01-07 18:04:14 +01:00
|
|
|
export INSTALL_ROOT=${PKG}
|
|
|
|
make install
|
|
|
|
mv ${PKG}/usr/share/man ${PKG}/usr
|
2008-01-08 13:24:36 +01:00
|
|
|
rm -f `find ${PKG} -name '*.debug'` `find ${PKG} -name 'README'`
|
2008-01-10 17:00:06 +01:00
|
|
|
mv ${PKG}/usr/bin/qcatool2 ${PKG}/usr/share/${name}/qcatool2
|
|
|
|
ln -sf /usr/include/qca ${PKG}/usr/share/${name}/include
|
|
|
|
ln -sf /usr/lib/qca ${PKG}/usr/share/${name}/lib
|
|
|
|
cat > ${PKG}/usr/bin/qcatool2 <<EOF
|
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
export LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:/usr/lib/qca
|
|
|
|
/usr/share/${name}/qcatool2
|
|
|
|
|
|
|
|
# End of file
|
|
|
|
EOF
|
|
|
|
chmod 0755 ${PKG}/usr/bin/qcatool2
|
|
|
|
ln -sf /usr/bin/qcatool2 ${PKG}/usr/bin/qcatool
|
2007-05-15 02:34:50 +02:00
|
|
|
}
|
2008-01-10 17:00:06 +01:00
|
|
|
|