summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngmar Vanhassel <ingmar@gentoo.org>2008-01-18 16:44:58 +0000
committerIngmar Vanhassel <ingmar@gentoo.org>2008-01-18 16:44:58 +0000
commit988f3d14f3192e9aef7556a220684d354898bb18 (patch)
tree2213be15b2ce2c9368f87c0df80cdee178c9b25a /app-crypt
parentVersion bumped. Added app-arch/unzip to DEPEND, bug #206027. (diff)
downloadgentoo-2-988f3d14f3192e9aef7556a220684d354898bb18.tar.gz
gentoo-2-988f3d14f3192e9aef7556a220684d354898bb18.tar.bz2
gentoo-2-988f3d14f3192e9aef7556a220684d354898bb18.zip
Fix slotting for =app-crypt/qca-tls-1*, thanks to Alon Bar-Lev in bug 129536.
(Portage version: 2.1.4)
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/qca/ChangeLog7
-rw-r--r--app-crypt/qca/files/digest-qca-1.0-r33
-rw-r--r--app-crypt/qca/qca-1.0-r3.ebuild54
3 files changed, 63 insertions, 1 deletions
diff --git a/app-crypt/qca/ChangeLog b/app-crypt/qca/ChangeLog
index 990425b2d3fc..a0675c02822c 100644
--- a/app-crypt/qca/ChangeLog
+++ b/app-crypt/qca/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-crypt/qca
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/qca/ChangeLog,v 1.30 2008/01/14 00:06:55 philantrop Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/qca/ChangeLog,v 1.31 2008/01/18 16:44:57 ingmar Exp $
+
+*qca-1.0-r3 (18 Jan 2008)
+
+ 18 Jan 2008; Ingmar Vanhassel <ingmar@gentoo.org> +qca-1.0-r3.ebuild:
+ Fix slotting for =app-crypt/qca-1*, thanks to Alon Bar-Lev in bug 129536.
13 Jan 2008; Wulf C. Krueger <philantrop@gentoo.org> metadata.xml,
qca-2.0.0-r2.ebuild:
diff --git a/app-crypt/qca/files/digest-qca-1.0-r3 b/app-crypt/qca/files/digest-qca-1.0-r3
new file mode 100644
index 000000000000..6da0f58d6351
--- /dev/null
+++ b/app-crypt/qca/files/digest-qca-1.0-r3
@@ -0,0 +1,3 @@
+MD5 ee44022eb0e5b8b5df64c62630f6e6b6 qca-1.0.tar.bz2 30677
+RMD160 129d8eeed68fb98e9cba94040b8f75b9f94c8a60 qca-1.0.tar.bz2 30677
+SHA256 614b8c9e03d8796c90f7f316f2ace66a5356270a75921ea72cebf129de491c5b qca-1.0.tar.bz2 30677
diff --git a/app-crypt/qca/qca-1.0-r3.ebuild b/app-crypt/qca/qca-1.0-r3.ebuild
new file mode 100644
index 000000000000..c1a4b50a5f43
--- /dev/null
+++ b/app-crypt/qca/qca-1.0-r3.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/qca/qca-1.0-r3.ebuild,v 1.1 2008/01/18 16:44:57 ingmar Exp $
+
+inherit eutils qt3
+
+DESCRIPTION="Qt Cryptographic Architecture (QCA)"
+HOMEPAGE="http://delta.affinix.com/qca/"
+SRC_URI="http://delta.affinix.com/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND="$(qt_min_version 3.3.0)"
+RDEPEND="${RDEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/qca-pathfix.patch
+ #This is needed just in bsd, but make no harm in linux
+ epatch "${FILESDIR}"/qca-1.0-fbsd.patch
+}
+
+src_compile() {
+ ./configure --prefix=/usr || die "configure failed"
+ sed -i \
+ -e "/^CFLAGS/s:$: ${CFLAGS}:" \
+ -e "/^CXXFLAGS/s:$: ${CXXFLAGS}:" \
+ -e "/-strip/d" \
+ Makefile
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install || die "make install failed"
+
+ dodir "/usr/include/qca1"
+ dodir "/usr/lib/qca1"
+ mv "${D}/usr/include"/* "${D}/usr/include/qca1"
+ mv "${D}/usr/lib"/* "${D}/usr/lib/qca1"
+
+ local _libdir=$(get_libdir)
+ if [[ "${_libdir}" != "lib" ]]; then
+ mv "${D}"/usr/lib "${D}"/usr/${_libdir}
+ fi
+
+ cat <<-EOF > "${T}/44qca1"
+ LDPATH=/usr/${_libdir}/qca1
+ EOF
+ doenvd "${T}/44qca1"
+}