pkgsrc/security/qca2/Makefile

36 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.17 2011/04/22 13:42:35 obache Exp $
DISTNAME= qca-2.0.3
PKGNAME= qca2-${DISTNAME:C/.*-//}
PKGREVISION= 2
CATEGORIES= security
MASTER_SITES= http://delta.affinix.com/download/qca/2.0/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= jdolecek@NetBSD.org
HOMEPAGE= http://delta.affinix.com/qca/
COMMENT= Cross-platform crypto API for QT
LICENSE= gnu-lgpl-v2.1
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= gmake
USE_LIBTOOL= yes
HAS_CONFIGURE= yes
USE_LANGUAGES= c++
INSTALL_MAKE_FLAGS+= INSTALL_ROOT=${DESTDIR:Q}
INSTALLATION_DIRS= qt4/include qt4/lib qt4/plugins/crypto lib/pkgconfig
# install under qt4 prefix to not clash with qca 1.x
CONFIGURE_ARGS+= --prefix=${QTDIR}
CONFIGURE_ARGS+= --qtdir=${QTDIR}
CONFIGURE_ARGS+= --disable-tests
CONFIGURE_ARGS+= --certstore-internal
post-install:
${INSTALL_DATA} ${DESTDIR}${QTDIR}/lib/pkgconfig/qca2.pc ${DESTDIR}${PREFIX}/lib/pkgconfig/qca2.pc
.include "../../x11/qt4-libs/buildlink3.mk"
.include "../../x11/qt4-tools/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"