summaryrefslogtreecommitdiff
path: root/qca/Pkgfile
blob: 1e647ac45bb1d4ccc689feb7f7a385c4877ddf3f (plain)
    1 # Description: QCA aims to provide a straightforward and cross-platform crypto API, using Qt.
    2 # URL: http://delta.affinix.com/qca/
    3 # Maintainer: Jose V Beneyto, sepen at crux dot nu
    4 # Packager: Jose V Beneyto, sepen at crux dot nu
    5 # Depends on: qt4
    6 
    7 name=qca
    8 version=2.0.3
    9 release=2
   10 source=(http://delta.affinix.com/download/$name/2.0/$name-$version.tar.bz2 \
   11         gcc47.patch)
   12 
   13 build() {
   14   cd $name-$version
   15 
   16   patch -p1 -i $SRC/gcc47.patch
   17 
   18   ./configure --prefix=/usr \
   19               --qtdir=/usr/share/qt4 \
   20               --disable-tests \
   21               --release \
   22               --no-separate-debug-info
   23 
   24   [ "$CXX" ] || CXX=g++
   25   make CXX="$CXX" $MAKEFLAGS
   26   make INSTALL_ROOT=$PKG install
   27 
   28   mv $PKG/usr/share/man $PKG/usr
   29   rm $PKG/usr/share/qca/certs/README
   30 }

Generated by cgit