1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-crypt/qca/qca-1.0-r2.ebuild,v 1.16 2006/10/19 00:14:00 jokey Exp $
7 DESCRIPTION
="Qt Cryptographic Architecture (QCA)"
8 HOMEPAGE
="http://delta.affinix.com/qca/"
9 SRC_URI
="http://delta.affinix.com/qca/qca-${PV}.tar.bz2"
13 KEYWORDS
="alpha amd64 hppa ia64 mips ppc ppc64 sparc x86 ~x86-fbsd"
16 DEPEND
="$(qt_min_version 3.3.0)"
22 #This is needed just in bsd, but make no harm in linux
23 epatch
"${FILESDIR}"/qca-1.0
-fbsd.
patch
27 .
/configure
--prefix=/usr || die
"configure failed"
29 sed -i -e "/-strip/d" Makefile || die
"sed failed"
30 emake || die
"emake failed"
34 emake INSTALL_ROOT
="${D}" install || die
"emake install failed"
37 dodir
/usr
/include
/qca1
39 mv "${D}"/usr
/include
/* "${D}"/usr
/include
/qca1
40 mv "${D}"/usr
/lib
/* "${D}"/usr
/lib
/qca1
42 if [[ "$(get_libdir)" != "lib" ]]; then
43 mv "${D}"/usr
/lib
"${D}"/usr
/$
(get_libdir
)
46 cat > "${T}"/44qca1
<< EOF
47 LDPATH=/usr/$(get_libdir)/qca1