summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/qca/ChangeLog7
-rw-r--r--app-crypt/qca/Manifest12
-rw-r--r--app-crypt/qca/files/digest-qca-2.0_beta23
-rw-r--r--app-crypt/qca/files/qca-allow_slotting.patch316
-rw-r--r--app-crypt/qca/qca-2.0_beta2.ebuild79
5 files changed, 417 insertions, 0 deletions
diff --git a/app-crypt/qca/ChangeLog b/app-crypt/qca/ChangeLog
new file mode 100644
index 000000000..4e29599ce
--- /dev/null
+++ b/app-crypt/qca/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for app-crypt/qca
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 18 Jun 2006; Gustavo Felisberto <humpback@gentoo.org>; ChangeLog:
+ Sloted qca from bug 129536
+
diff --git a/app-crypt/qca/Manifest b/app-crypt/qca/Manifest
new file mode 100644
index 000000000..8d14198b4
--- /dev/null
+++ b/app-crypt/qca/Manifest
@@ -0,0 +1,12 @@
+AUX qca-allow_slotting.patch 12956 RMD160 c0e8e7b5f03e4a0fd5aad10f94a1eb1bb78b8b2e SHA1 9d1455a68228d35b98d67f44d32eff903eb284db SHA256 b07f52fec9e5ccbbeccd52c40e015f347a62ef72745c0df52cec4b23fcb5c546
+MD5 744751c2ff83fc3151d3e88463ea30bf files/qca-allow_slotting.patch 12956
+RMD160 c0e8e7b5f03e4a0fd5aad10f94a1eb1bb78b8b2e files/qca-allow_slotting.patch 12956
+SHA256 b07f52fec9e5ccbbeccd52c40e015f347a62ef72745c0df52cec4b23fcb5c546 files/qca-allow_slotting.patch 12956
+DIST qca-2.0-beta2.tar.bz2 990779 RMD160 d7d07ba6a9eba2ba0359ddb0de2fad5972d0d261 SHA1 00a95ac381d801d148cf9905c9d3d5174d3fcd1b SHA256 068cf69b6891e301f1eb8718f1d9d1bc46e79edf4b809dda3e5f2b39e01db6fd
+EBUILD qca-2.0_beta2.ebuild 1563 RMD160 dfcff80af60db0fac72e7a3adc8498336239a6e1 SHA1 7d36221394794dd6340137f1b00b6870db72de61 SHA256 12c3b0c00541d22fdb0a668fb975733c13c0bea2c8efb945cf7b4424a5a658d2
+MD5 bb1e66d1acd1a433218eedc635eb9738 qca-2.0_beta2.ebuild 1563
+RMD160 dfcff80af60db0fac72e7a3adc8498336239a6e1 qca-2.0_beta2.ebuild 1563
+SHA256 12c3b0c00541d22fdb0a668fb975733c13c0bea2c8efb945cf7b4424a5a658d2 qca-2.0_beta2.ebuild 1563
+MD5 c1b6e36d9d6c3fb13e451256692d9506 files/digest-qca-2.0_beta2 244
+RMD160 e75a693e54e940c23b0e87a316f6b103d2d426d3 files/digest-qca-2.0_beta2 244
+SHA256 63fdb929f3ff65d32f68e4691eb71c652cd9f7b18f3b634d0404952203db3a6f files/digest-qca-2.0_beta2 244
diff --git a/app-crypt/qca/files/digest-qca-2.0_beta2 b/app-crypt/qca/files/digest-qca-2.0_beta2
new file mode 100644
index 000000000..dec108b1f
--- /dev/null
+++ b/app-crypt/qca/files/digest-qca-2.0_beta2
@@ -0,0 +1,3 @@
+MD5 4eadf9e91e347eb090f60b79c68f4789 qca-2.0-beta2.tar.bz2 990779
+RMD160 d7d07ba6a9eba2ba0359ddb0de2fad5972d0d261 qca-2.0-beta2.tar.bz2 990779
+SHA256 068cf69b6891e301f1eb8718f1d9d1bc46e79edf4b809dda3e5f2b39e01db6fd qca-2.0-beta2.tar.bz2 990779
diff --git a/app-crypt/qca/files/qca-allow_slotting.patch b/app-crypt/qca/files/qca-allow_slotting.patch
new file mode 100644
index 000000000..6b462e98d
--- /dev/null
+++ b/app-crypt/qca/files/qca-allow_slotting.patch
@@ -0,0 +1,316 @@
+diff -Naur qca-2.0-beta2-orig/examples/examples.pri qca-2.0-beta2/examples/examples.pri
+--- qca-2.0-beta2-orig/examples/examples.pri 2005-08-01 03:15:35.000000000 +0000
++++ qca-2.0-beta2/examples/examples.pri 2006-06-18 03:12:07.000000000 +0000
+@@ -5,5 +5,5 @@
+ LIBS += -L../../lib
+
+ # link
+-LIBS += -lqca
++LIBS += -lqca-2
+
+diff -Naur qca-2.0-beta2-orig/extra.qcm qca-2.0-beta2/extra.qcm
+--- qca-2.0-beta2-orig/extra.qcm 2006-04-03 01:00:35.000000000 +0000
++++ qca-2.0-beta2/extra.qcm 2006-06-18 03:19:26.000000000 +0000
+@@ -48,7 +48,7 @@
+ "CONFIG *= qt\n"
+ "INCLUDEPATH += %1/include/QtCrypto\n").arg(prefix);
+ str += QString(
+- "LIBS += -L%1/lib -lqca\n").arg(prefix);
++ "LIBS += -L%1/lib -lqca-2\n").arg(prefix);
+
+ f.setFileName("crypto.prf");
+ if(f.open(QFile::WriteOnly | QFile::Truncate))
+@@ -74,7 +74,7 @@
+ "Description: Qt Cryptographic Architecture library\n"
+ "Version: 2.0.0 #maybe this shouldn't be literal...\n"
+ "Requires: %2\n"
+- "Libs: -L${libdir} -lqca\n"
++ "Libs: -L${libdir} -lqca-2\n"
+ "Cflags: -I${includedir}\n"
+ "\n"
+ ).arg(prefix).arg(qtcore);
+diff -Naur qca-2.0-beta2-orig/src/src.pro qca-2.0-beta2/src/src.pro
+--- qca-2.0-beta2-orig/src/src.pro 2006-04-03 01:00:35.000000000 +0000
++++ qca-2.0-beta2/src/src.pro 2006-06-18 03:11:51.000000000 +0000
+@@ -6,7 +6,7 @@
+
+ TEMPLATE = lib
+ QT -= gui
+-TARGET = qca
++TARGET = qca-2
+ DESTDIR = $$QCA_BASE/lib
+
+ MOC_DIR = .moc
+diff -Naur qca-2.0-beta2-orig/unittest/base64unittest/base64unittest.pro qca-2.0-beta2/unittest/base64unittest/base64unittest.pro
+--- qca-2.0-beta2-orig/unittest/base64unittest/base64unittest.pro 2005-12-23 07:02:32.000000000 +0000
++++ qca-2.0-beta2/unittest/base64unittest/base64unittest.pro 2006-06-18 03:12:56.000000000 +0000
+@@ -2,7 +2,7 @@
+ TARGET = base64unittest
+ DEPENDPATH += .
+ INCLUDEPATH += ../../include/QtCrypto
+-LIBS += -L../../lib -lqca
++LIBS += -L../../lib -lqca-2
+ CONFIG += qtestlib thread console
+ QT -= gui
+
+diff -Naur qca-2.0-beta2-orig/unittest/bigintunittest/bigintunittest.pro qca-2.0-beta2/unittest/bigintunittest/bigintunittest.pro
+--- qca-2.0-beta2-orig/unittest/bigintunittest/bigintunittest.pro 2005-11-08 10:25:12.000000000 +0000
++++ qca-2.0-beta2/unittest/bigintunittest/bigintunittest.pro 2006-06-18 03:13:02.000000000 +0000
+@@ -2,7 +2,7 @@
+ TARGET = bigintunittest
+ DEPENDPATH += .
+ INCLUDEPATH += ../../include/QtCrypto
+-LIBS += -L../../lib -lqca
++LIBS += -L../../lib -lqca-2
+ CONFIG += qtestlib thread console
+ QT -= gui
+
+diff -Naur qca-2.0-beta2-orig/unittest/certunittest/certunittest.pro qca-2.0-beta2/unittest/certunittest/certunittest.pro
+--- qca-2.0-beta2-orig/unittest/certunittest/certunittest.pro 2006-01-29 11:24:50.000000000 +0000
++++ qca-2.0-beta2/unittest/certunittest/certunittest.pro 2006-06-18 03:13:07.000000000 +0000
+@@ -2,7 +2,7 @@
+ TARGET = certunittest
+ DEPENDPATH += .
+ INCLUDEPATH += ../../include/QtCrypto
+-LIBS += -L../../lib -lqca
++LIBS += -L../../lib -lqca-2
+ CONFIG += qtestlib thread console
+ QT -= gui
+
+diff -Naur qca-2.0-beta2-orig/unittest/filewatchunittest/filewatchunittest.pro qca-2.0-beta2/unittest/filewatchunittest/filewatchunittest.pro
+--- qca-2.0-beta2-orig/unittest/filewatchunittest/filewatchunittest.pro 2006-03-30 10:38:13.000000000 +0000
++++ qca-2.0-beta2/unittest/filewatchunittest/filewatchunittest.pro 2006-06-18 03:13:25.000000000 +0000
+@@ -2,7 +2,7 @@
+ TARGET = filewatchunittest
+ DEPENDPATH += .
+ INCLUDEPATH += ../../include/QtCrypto
+-LIBS += -L../../lib -lqca
++LIBS += -L../../lib -lqca-2
+ CONFIG += qtestlib thread console
+ QT -= gui
+
+diff -Naur qca-2.0-beta2-orig/unittest/hashunittest/hashunittest.pro qca-2.0-beta2/unittest/hashunittest/hashunittest.pro
+--- qca-2.0-beta2-orig/unittest/hashunittest/hashunittest.pro 2005-12-23 06:34:28.000000000 +0000
++++ qca-2.0-beta2/unittest/hashunittest/hashunittest.pro 2006-06-18 03:13:29.000000000 +0000
+@@ -2,7 +2,7 @@
+ TARGET = hashunittest
+ DEPENDPATH += .
+ INCLUDEPATH += ../../include/QtCrypto
+-LIBS += -L../../lib -lqca
++LIBS += -L../../lib -lqca-2
+ CONFIG += qtestlib thread console
+ QT -= gui
+
+diff -Naur qca-2.0-beta2-orig/unittest/hexunittest/hexunittest.pro qca-2.0-beta2/unittest/hexunittest/hexunittest.pro
+--- qca-2.0-beta2-orig/unittest/hexunittest/hexunittest.pro 2005-12-23 06:05:33.000000000 +0000
++++ qca-2.0-beta2/unittest/hexunittest/hexunittest.pro 2006-06-18 03:13:34.000000000 +0000
+@@ -2,7 +2,7 @@
+ TARGET = hexunittest
+ DEPENDPATH += .
+ INCLUDEPATH += ../../include/QtCrypto
+-LIBS += -L../../lib -lqca
++LIBS += -L../../lib -lqca-2
+ CONFIG += qtestlib thread console
+ QT -= gui
+
+diff -Naur qca-2.0-beta2-orig/unittest/kdfunittest/kdfunittest.pro qca-2.0-beta2/unittest/kdfunittest/kdfunittest.pro
+--- qca-2.0-beta2-orig/unittest/kdfunittest/kdfunittest.pro 2005-12-23 07:02:32.000000000 +0000
++++ qca-2.0-beta2/unittest/kdfunittest/kdfunittest.pro 2006-06-18 03:13:38.000000000 +0000
+@@ -2,7 +2,7 @@
+ TARGET = kdfunittest
+ DEPENDPATH += .
+ INCLUDEPATH += ../../include/QtCrypto
+-LIBS += -L../../lib -lqca
++LIBS += -L../../lib -lqca-2
+ CONFIG += qtestlib thread console
+ QT -= gui
+
+diff -Naur qca-2.0-beta2-orig/unittest/keygenunittest/keygenunittest.pro qca-2.0-beta2/unittest/keygenunittest/keygenunittest.pro
+--- qca-2.0-beta2-orig/unittest/keygenunittest/keygenunittest.pro 2005-12-23 06:16:08.000000000 +0000
++++ qca-2.0-beta2/unittest/keygenunittest/keygenunittest.pro 2006-06-18 03:13:43.000000000 +0000
+@@ -2,7 +2,7 @@
+ TARGET = keygenunittest
+ DEPENDPATH += .
+ INCLUDEPATH += ../../include/QtCrypto
+-LIBS += -L../../lib -lqca
++LIBS += -L../../lib -lqca-2
+ CONFIG += qtestlib thread console
+ # check target
+
+diff -Naur qca-2.0-beta2-orig/unittest/keylengthunittest/keylengthunittest.pro qca-2.0-beta2/unittest/keylengthunittest/keylengthunittest.pro
+--- qca-2.0-beta2-orig/unittest/keylengthunittest/keylengthunittest.pro 2006-03-26 06:08:00.000000000 +0000
++++ qca-2.0-beta2/unittest/keylengthunittest/keylengthunittest.pro 2006-06-18 03:13:47.000000000 +0000
+@@ -2,7 +2,7 @@
+ TARGET = keylengthunittest
+ DEPENDPATH += .
+ INCLUDEPATH += ../../include/QtCrypto
+-LIBS += -L../../lib -lqca
++LIBS += -L../../lib -lqca-2
+ CONFIG += qtestlib thread console
+ QT -= gui
+
+diff -Naur qca-2.0-beta2-orig/unittest/macunittest/macunittest.pro qca-2.0-beta2/unittest/macunittest/macunittest.pro
+--- qca-2.0-beta2-orig/unittest/macunittest/macunittest.pro 2006-01-19 10:35:44.000000000 +0000
++++ qca-2.0-beta2/unittest/macunittest/macunittest.pro 2006-06-18 03:13:52.000000000 +0000
+@@ -2,7 +2,7 @@
+ TARGET = macunittest
+ DEPENDPATH += .
+ INCLUDEPATH += ../../include/QtCrypto
+-LIBS += -L../../lib -lqca
++LIBS += -L../../lib -lqca-2
+ CONFIG += qtestlib thread console
+ QT -= gui
+
+diff -Naur qca-2.0-beta2-orig/unittest/pkits/pkits.pro qca-2.0-beta2/unittest/pkits/pkits.pro
+--- qca-2.0-beta2-orig/unittest/pkits/pkits.pro 2006-02-11 01:06:44.000000000 +0000
++++ qca-2.0-beta2/unittest/pkits/pkits.pro 2006-06-18 03:13:57.000000000 +0000
+@@ -2,7 +2,7 @@
+ TARGET = pkits
+ DEPENDPATH += .
+ INCLUDEPATH += ../../include/QtCrypto
+-LIBS += -L../../lib -lqca
++LIBS += -L../../lib -lqca-2
+ CONFIG += qtestlib thread console
+ QT -= gui
+
+diff -Naur qca-2.0-beta2-orig/unittest/randomunittest/randomunittest.pro qca-2.0-beta2/unittest/randomunittest/randomunittest.pro
+--- qca-2.0-beta2-orig/unittest/randomunittest/randomunittest.pro 2006-03-31 10:39:03.000000000 +0000
++++ qca-2.0-beta2/unittest/randomunittest/randomunittest.pro 2006-06-18 03:14:02.000000000 +0000
+@@ -2,7 +2,7 @@
+ TARGET = randomunittest
+ DEPENDPATH += .
+ INCLUDEPATH += ../../include/QtCrypto
+-LIBS += -L../../lib -lqca
++LIBS += -L../../lib -lqca-2
+ CONFIG += qtestlib thread console
+ QT -= gui
+
+diff -Naur qca-2.0-beta2-orig/unittest/rsaunittest/rsaunittest.pro qca-2.0-beta2/unittest/rsaunittest/rsaunittest.pro
+--- qca-2.0-beta2-orig/unittest/rsaunittest/rsaunittest.pro 2006-03-31 10:42:02.000000000 +0000
++++ qca-2.0-beta2/unittest/rsaunittest/rsaunittest.pro 2006-06-18 03:14:07.000000000 +0000
+@@ -2,7 +2,7 @@
+ TARGET = rsaunittest
+ DEPENDPATH += .
+ INCLUDEPATH += ../../include/QtCrypto
+-LIBS += -L../../lib -lqca
++LIBS += -L../../lib -lqca-2
+ CONFIG += qtestlib thread console
+ QT -= gui
+
+diff -Naur qca-2.0-beta2-orig/unittest/securearrayunittest/securearrayunittest.pro qca-2.0-beta2/unittest/securearrayunittest/securearrayunittest.pro
+--- qca-2.0-beta2-orig/unittest/securearrayunittest/securearrayunittest.pro 2005-12-23 06:05:33.000000000 +0000
++++ qca-2.0-beta2/unittest/securearrayunittest/securearrayunittest.pro 2006-06-18 03:14:12.000000000 +0000
+@@ -2,7 +2,7 @@
+ TARGET = securearrayunittest
+ DEPENDPATH += .
+ INCLUDEPATH += ../../include/QtCrypto
+-LIBS += -L../../lib -lqca
++LIBS += -L../../lib -lqca-2
+ CONFIG += qtestlib thread console
+ QT -= gui
+
+diff -Naur qca-2.0-beta2-orig/unittest/staticunittest/staticunittest.pro qca-2.0-beta2/unittest/staticunittest/staticunittest.pro
+--- qca-2.0-beta2-orig/unittest/staticunittest/staticunittest.pro 2005-12-23 07:02:32.000000000 +0000
++++ qca-2.0-beta2/unittest/staticunittest/staticunittest.pro 2006-06-18 03:14:16.000000000 +0000
+@@ -2,7 +2,7 @@
+ TARGET = staticunittest
+ DEPENDPATH += .
+ INCLUDEPATH += ../../include/QtCrypto
+-LIBS += -L../../lib -lqca
++LIBS += -L../../lib -lqca-2
+ CONFIG += qtestlib thread console
+ QT -= gui
+
+diff -Naur qca-2.0-beta2-orig/unittest/symmetrickeyunittest/symmetrickeyunittest.pro qca-2.0-beta2/unittest/symmetrickeyunittest/symmetrickeyunittest.pro
+--- qca-2.0-beta2-orig/unittest/symmetrickeyunittest/symmetrickeyunittest.pro 2006-01-15 08:54:59.000000000 +0000
++++ qca-2.0-beta2/unittest/symmetrickeyunittest/symmetrickeyunittest.pro 2006-06-18 03:14:20.000000000 +0000
+@@ -2,7 +2,7 @@
+ TARGET = symmetrickeyunittest
+ DEPENDPATH += .
+ INCLUDEPATH += ../../include/QtCrypto
+-LIBS += -L../../lib -lqca
++LIBS += -L../../lib -lqca-2
+ CONFIG += qtestlib thread console
+ QT -= gui
+
+diff -Naur qca-2.0-beta2-orig/unittest/tls/tls.pro qca-2.0-beta2/unittest/tls/tls.pro
+--- qca-2.0-beta2-orig/unittest/tls/tls.pro 2006-03-18 05:06:10.000000000 +0000
++++ qca-2.0-beta2/unittest/tls/tls.pro 2006-06-18 03:14:27.000000000 +0000
+@@ -2,7 +2,7 @@
+ TARGET = tlsunittest
+ DEPENDPATH += .
+ INCLUDEPATH += ../../include/QtCrypto
+-LIBS += -L../../lib -lqca
++LIBS += -L../../lib -lqca-2
+ CONFIG += qtestlib thread console
+ QT -= gui
+
+diff -Naur qca-2.0-beta2-orig/tools/mozcerts/mozcerts.pro qca-2.0-beta2/tools/mozcerts/mozcerts.pro
+--- qca-2.0-beta2-orig/tools/mozcerts/mozcerts.pro 2006-04-03 01:00:35.000000000 +0000
++++ qca-2.0-beta2/tools/mozcerts/mozcerts.pro 2006-06-18 03:29:30.000000000 +0000
+@@ -4,7 +4,7 @@
+ include(../../confapp.pri)
+
+ INCLUDEPATH += ../../include/QtCrypto
+-LIBS += -L../../lib -lqca
++LIBS += -L../../lib -lqca-2
+
+ SOURCES += main.cpp
+
+diff -Naur qca-2.0-beta2-orig/tools/qcatool/qcatool.pro qca-2.0-beta2/tools/qcatool/qcatool.pro
+--- qca-2.0-beta2-orig/tools/qcatool/qcatool.pro 2006-04-03 01:00:35.000000000 +0000
++++ qca-2.0-beta2/tools/qcatool/qcatool.pro 2006-06-18 03:29:42.000000000 +0000
+@@ -5,7 +5,7 @@
+ DESTDIR = ../../bin
+
+ INCLUDEPATH += ../../include/QtCrypto
+-LIBS += -L../../lib -lqca
++LIBS += -L../../lib -lqca-2
+
+ SOURCES += main.cpp
+
+diff -Naur qca-2.0-beta2-orig/configure qca-2.0-beta2/configure
+--- qca-2.0-beta2-orig/configure 2006-06-18 03:36:56.000000000 +0000
++++ qca-2.0-beta2/configure 2006-06-18 03:36:30.000000000 +0000
+@@ -442,7 +442,7 @@
+ "CONFIG *= qt\n"
+ "INCLUDEPATH += %1/include/QtCrypto\n").arg(prefix);
+ str += QString(
+- "LIBS += -L%1/lib -lqca\n").arg(prefix);
++ "LIBS += -L%1/lib -lqca-2\n").arg(prefix);
+
+ f.setFileName("crypto.prf");
+ if(f.open(QFile::WriteOnly | QFile::Truncate))
+@@ -468,7 +468,7 @@
+ "Description: Qt Cryptographic Architecture library\n"
+ "Version: 2.0.0 #maybe this shouldn't be literal...\n"
+ "Requires: %2\n"
+- "Libs: -L\${libdir} -lqca\n"
++ "Libs: -L\${libdir} -lqca-2\n"
+ "Cflags: -I\${includedir}\n"
+ "\n"
+ ).arg(prefix).arg(qtcore);
+diff -Naur qca-2.0-beta2-orig/unittest/cipherunittest/cipherunittest.pro qca-2.0-beta2/unittest/cipherunittest/cipherunittest.pro
+--- qca-2.0-beta2-orig/unittest/cipherunittest/cipherunittest.pro 2006-01-15 05:17:47.000000000 +0000
++++ qca-2.0-beta2/unittest/cipherunittest/cipherunittest.pro 2006-06-18 23:09:38.000000000 +0000
+@@ -2,7 +2,7 @@
+ TARGET = cipherunittest
+ DEPENDPATH += .
+ INCLUDEPATH += ../../include/QtCrypto
+-LIBS += -L../../lib -lqca
++LIBS += -L../../lib -lqca-2
+ CONFIG += qtestlib thread console
+ QT -= gui
+
+diff -Naur qca-2.0-beta2-orig/unittest/dsaunittest/dsaunittest.pro qca-2.0-beta2/unittest/dsaunittest/dsaunittest.pro
+--- qca-2.0-beta2-orig/unittest/dsaunittest/dsaunittest.pro 2006-03-31 10:44:58.000000000 +0000
++++ qca-2.0-beta2/unittest/dsaunittest/dsaunittest.pro 2006-06-18 23:09:44.000000000 +0000
+@@ -2,7 +2,7 @@
+ TARGET = dsaunittest
+ DEPENDPATH += .
+ INCLUDEPATH += ../../include/QtCrypto
+-LIBS += -L../../lib -lqca
++LIBS += -L../../lib -lqca-2
+ CONFIG += qtestlib thread console
+ QT -= gui
+
diff --git a/app-crypt/qca/qca-2.0_beta2.ebuild b/app-crypt/qca/qca-2.0_beta2.ebuild
new file mode 100644
index 000000000..ccd2853ae
--- /dev/null
+++ b/app-crypt/qca/qca-2.0_beta2.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header:
+
+inherit eutils qt4
+
+MVER="${PV/_*/}"
+SVER="${PV/*_/}"
+MY_P="${PN}-${MVER}-${SVER}"
+
+DESCRIPTION="Qt Cryptographic Architecture (QCA)"
+HOMEPAGE="http://delta.affinix.com/qca/"
+SRC_URI="http://delta.affinix.com/download/qca/${MVER}/${SVER}/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="2"
+KEYWORDS="~x86 ~amd64"
+IUSE="debug doc ssl"
+
+RDEPEND="$(qt_min_version 4.1.0)"
+
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ epatch ${FILESDIR}/${PN}-allow_slotting.patch
+}
+
+src_compile() {
+ local myconf=""
+ local qmyconf="CONFIG += no_fixpath"
+
+ # check wheter qt was build with debug use flag
+ if ! built_with_use qt debug || ! use debug; then
+ myconf="${myconf} --disable-tests"
+ qmyconf="${qmyconf} release"
+ else
+ myconf="${myconf} --enable-debug"
+ qmyconf="${qmyconf} debug"
+ fi;
+
+ QTDIR="/usr/lib" \
+ ./configure \
+ --prefix=/usr \
+ ${myconf} \
+ || die "configure failed"
+
+ qmake \
+ QMAKE_CFLAGS_RELEASE="${CFLAGS}" \
+ QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}" \
+ QMAKE_RPATH= \
+ QTDIR="/usr/lib" \
+ "${qmyconf}" \
+ ${PN}.pro \
+ || die "qmake failed"
+
+ make || die "make failed"
+
+ use doc && doxygen
+}
+
+src_install() {
+ make INSTALL_ROOT="${D}" install || die "make install failed"
+ if [ "$(get_libdir)" != "lib" ]; then
+ mv ${D}/usr/lib ${D}/usr/$(get_libdir)
+ fi
+
+ dodoc README TODO
+
+ if use doc; then
+ insinto /usr/share/doc/${PF}/doxydoc
+ doins ${S}/apidocs/html/*
+ fi;
+}