summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2006-05-06 07:54:19 +0000
committerAlin Năstac <mrness@gentoo.org>2006-05-06 07:54:19 +0000
commitb37b9faa1222bbe8d6f271bfb3093d77b617db7a (patch)
treead5004304cd2d778d1ebe9dedaf42a88842a415d /net-libs
parentMask dev-embedded/sdcc-cvs pending removal. (diff)
downloadhistorical-b37b9faa1222bbe8d6f271bfb3093d77b617db7a.tar.gz
historical-b37b9faa1222bbe8d6f271bfb3093d77b617db7a.tar.bz2
historical-b37b9faa1222bbe8d6f271bfb3093d77b617db7a.zip
Fix uniconfd.ini path (#132188)
Package-Manager: portage-2.0.54
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/wvstreams/ChangeLog8
-rw-r--r--net-libs/wvstreams/Manifest85
-rw-r--r--net-libs/wvstreams/files/digest-wvstreams-4.2.2-r11
-rw-r--r--net-libs/wvstreams/files/wvstreams-4.2.2-uniconfd-ini.patch14
-rw-r--r--net-libs/wvstreams/wvstreams-4.2.2-r1.ebuild97
5 files changed, 137 insertions, 68 deletions
diff --git a/net-libs/wvstreams/ChangeLog b/net-libs/wvstreams/ChangeLog
index d59a41a6e3b2..e1709521753f 100644
--- a/net-libs/wvstreams/ChangeLog
+++ b/net-libs/wvstreams/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-libs/wvstreams
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/wvstreams/ChangeLog,v 1.86 2006/04/27 21:59:57 antarus Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/wvstreams/ChangeLog,v 1.87 2006/05/06 07:54:19 mrness Exp $
+
+*wvstreams-4.2.2-r1 (06 May 2006)
+
+ 06 May 2006; Alin Nastac <mrness@gentoo.org>
+ +files/wvstreams-4.2.2-uniconfd-ini.patch, +wvstreams-4.2.2-r1.ebuild:
+ Fix uniconfd.ini path (#132188).
27 Apr 2006; Alec Warner <antarus@gentoo.org>
files/digest-wvstreams-4.0.2-r1, files/digest-wvstreams-4.0.2-r2,
diff --git a/net-libs/wvstreams/Manifest b/net-libs/wvstreams/Manifest
index af630c12ffcd..2c6ddfd5abba 100644
--- a/net-libs/wvstreams/Manifest
+++ b/net-libs/wvstreams/Manifest
@@ -1,83 +1,34 @@
-AUX wvstreams-4.0.2-MOC-fix.patch 479 RMD160 97a8dd0d22964de2bde0250bc0aceae049b4807c SHA1 a66e0cf352cf75e97e3162ec356ffed5bdfac153 SHA256 01144a9794da9b61cbb114f061543874979e8bec6b7b4a7844fec73ce1de4c5a size 479
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 0aaed8ff30592ddc4b698925c782b1da ChangeLog 13691
+MD5 8cc8c894e6b85859553c7e3e0e787601 files/digest-wvstreams-4.0.2-r1 250
+MD5 8cc8c894e6b85859553c7e3e0e787601 files/digest-wvstreams-4.0.2-r2 250
+MD5 ce2f63ffae6742f96ede8200eb39c3d1 files/digest-wvstreams-4.2.2 250
+MD5 2182d9c21e12e64892b2ff69088ff5e1 files/digest-wvstreams-4.2.2-r1 68
MD5 16733d2b49133ec4fd75fa7dbca890ea files/wvstreams-4.0.2-MOC-fix.patch 479
-RMD160 97a8dd0d22964de2bde0250bc0aceae049b4807c files/wvstreams-4.0.2-MOC-fix.patch 479
-SHA256 01144a9794da9b61cbb114f061543874979e8bec6b7b4a7844fec73ce1de4c5a files/wvstreams-4.0.2-MOC-fix.patch 479
-AUX wvstreams-4.0.2-external-xplc.patch 1659 RMD160 02671504ba3ce252465cb50271759449a50a7e14 SHA1 f9c7dc1830f96ff0f7df402d3689b38e89f512ab SHA256 e57a9ec87155b9eceb4ab6d0fa1c0986ae29277b84c4a0f8192ef7d29c984e2d size 1659
MD5 189d6997246f2943d43b5c18d0a78163 files/wvstreams-4.0.2-external-xplc.patch 1659
-RMD160 02671504ba3ce252465cb50271759449a50a7e14 files/wvstreams-4.0.2-external-xplc.patch 1659
-SHA256 e57a9ec87155b9eceb4ab6d0fa1c0986ae29277b84c4a0f8192ef7d29c984e2d files/wvstreams-4.0.2-external-xplc.patch 1659
-AUX wvstreams-4.0.2-gcc41.patch 698 RMD160 58bb8a92efb51bc8603c77b71124eec7d2384a91 SHA1 27a624e4a8fe6c0ad932d74c05aeba60f90a53e8 SHA256 62933047f456feb71ccf2d4859dc2e28a013feb62dd080080f1e1a6ef1be7c69 size 698
MD5 6448ad9ded98b10b600e0b3386d2c4bf files/wvstreams-4.0.2-gcc41.patch 698
-RMD160 58bb8a92efb51bc8603c77b71124eec7d2384a91 files/wvstreams-4.0.2-gcc41.patch 698
-SHA256 62933047f456feb71ccf2d4859dc2e28a013feb62dd080080f1e1a6ef1be7c69 files/wvstreams-4.0.2-gcc41.patch 698
-AUX wvstreams-4.0.2-linux-serial.patch 6412 RMD160 b984d406bf0934eb02607b98681ee132f0c55c87 SHA1 ec13ea506998ca2454e411020c95e28c53cb9871 SHA256 e788d20f6f510f1c9190401a4de677fa3db5cf4149c2d20ab43ade29206d372e size 6412
MD5 26127f51d3c7e77edb001d4cb33882d0 files/wvstreams-4.0.2-linux-serial.patch 6412
-RMD160 b984d406bf0934eb02607b98681ee132f0c55c87 files/wvstreams-4.0.2-linux-serial.patch 6412
-SHA256 e788d20f6f510f1c9190401a4de677fa3db5cf4149c2d20ab43ade29206d372e files/wvstreams-4.0.2-linux-serial.patch 6412
-AUX wvstreams-4.0.2-speex-const.patch 951 RMD160 9cd575225f9f645734bcf9255ae03c25af6e1214 SHA1 d9379e2ca427cc0af9c5efade212a7eed9b51611 SHA256 bcb3212685dad976930ce9cadd452d8bfb6740fb59924706abe2f863d8007d76 size 951
MD5 b65b1449a0bc6ff06e8c843b37717f05 files/wvstreams-4.0.2-speex-const.patch 951
-RMD160 9cd575225f9f645734bcf9255ae03c25af6e1214 files/wvstreams-4.0.2-speex-const.patch 951
-SHA256 bcb3212685dad976930ce9cadd452d8bfb6740fb59924706abe2f863d8007d76 files/wvstreams-4.0.2-speex-const.patch 951
-AUX wvstreams-4.0.2-tcl_8_4.patch 1022 RMD160 5b6029b441bb64e4c76bf599ecb6ed306388aac0 SHA1 2a12778e72fa5f9452970175e98b3319e28a5927 SHA256 e4dcca87be14e29214ae9ed58892352ddcc916f59acb9b208cb56df733950166 size 1022
MD5 0b5b1b03e323747aa3ce30492fe18cc1 files/wvstreams-4.0.2-tcl_8_4.patch 1022
-RMD160 5b6029b441bb64e4c76bf599ecb6ed306388aac0 files/wvstreams-4.0.2-tcl_8_4.patch 1022
-SHA256 e4dcca87be14e29214ae9ed58892352ddcc916f59acb9b208cb56df733950166 files/wvstreams-4.0.2-tcl_8_4.patch 1022
-AUX wvstreams-4.0.2-wireless-user.patch 466 RMD160 cb6851eb7813cfaac08f36df1ba5b74945325223 SHA1 1b7898611bedbdcfcbb70ab3e676bc397dafecf3 SHA256 d1873834bfb196a196626dc0e65fa6daae43e89f3c17dd30ba6670f2df1125e2 size 466
MD5 dbec7770662be21658b4ba9740cf2793 files/wvstreams-4.0.2-wireless-user.patch 466
-RMD160 cb6851eb7813cfaac08f36df1ba5b74945325223 files/wvstreams-4.0.2-wireless-user.patch 466
-SHA256 d1873834bfb196a196626dc0e65fa6daae43e89f3c17dd30ba6670f2df1125e2 files/wvstreams-4.0.2-wireless-user.patch 466
-AUX wvstreams-4.2.2-MOC-fix.patch 496 RMD160 c535de41919e65ebcdefcb08698dda11ded8d972 SHA1 af28e60552446b408c1751713d7e8b4cebb7a4c8 SHA256 905beab969778d2fa2294bbb3f95a16c40ac295c99c6c76c8e34ce0eecaa8da0 size 496
MD5 d5c8bf76b0489abb5a4462b9d2908ced files/wvstreams-4.2.2-MOC-fix.patch 496
-RMD160 c535de41919e65ebcdefcb08698dda11ded8d972 files/wvstreams-4.2.2-MOC-fix.patch 496
-SHA256 905beab969778d2fa2294bbb3f95a16c40ac295c99c6c76c8e34ce0eecaa8da0 files/wvstreams-4.2.2-MOC-fix.patch 496
-AUX wvstreams-4.2.2-external-xplc.patch 1213 RMD160 9ae253dbc85fc903fbe19220ee1ec22d317d15d2 SHA1 d3480b6cd9a11e2415a0e259a3d93a6e64f26d73 SHA256 821eb1d5f924b74a3644a4f2f1fa314f1ac0ecce275aefede9f4d9965d96b264 size 1213
MD5 3ddd94457f929b986d63723ddc9a0107 files/wvstreams-4.2.2-external-xplc.patch 1213
-RMD160 9ae253dbc85fc903fbe19220ee1ec22d317d15d2 files/wvstreams-4.2.2-external-xplc.patch 1213
-SHA256 821eb1d5f924b74a3644a4f2f1fa314f1ac0ecce275aefede9f4d9965d96b264 files/wvstreams-4.2.2-external-xplc.patch 1213
-AUX wvstreams-4.2.2-gcc41.patch 2467 RMD160 dbf74509cf8e9f8f2b1697ca99830ebd0df23d69 SHA1 0ab07503e492fdded3aab7de7559a5c41416fea6 SHA256 6581dc1d42867515b679debcead038c2ab5726763993a68a37beff1bf9354799 size 2467
MD5 cd3499947a721c4f42bfd5f7df77abd3 files/wvstreams-4.2.2-gcc41.patch 2467
-RMD160 dbf74509cf8e9f8f2b1697ca99830ebd0df23d69 files/wvstreams-4.2.2-gcc41.patch 2467
-SHA256 6581dc1d42867515b679debcead038c2ab5726763993a68a37beff1bf9354799 files/wvstreams-4.2.2-gcc41.patch 2467
-AUX wvstreams-4.2.2-linux-serial.patch 1649 RMD160 0d40148b3b66a6bda21cae81453605d7f2c0a96c SHA1 4ea60c31b55f0fdbc94803a6b588af83cad5de3a SHA256 9073db1a01e36b11ea0cd79d1eed530b6a0938447e4aa66c89497582c23ce9b9 size 1649
MD5 3728d5a371443c7bf725bd9518bcec6f files/wvstreams-4.2.2-linux-serial.patch 1649
-RMD160 0d40148b3b66a6bda21cae81453605d7f2c0a96c files/wvstreams-4.2.2-linux-serial.patch 1649
-SHA256 9073db1a01e36b11ea0cd79d1eed530b6a0938447e4aa66c89497582c23ce9b9 files/wvstreams-4.2.2-linux-serial.patch 1649
-AUX wvstreams-4.2.2-tcl_8_4.patch 1022 RMD160 cd45fe4b862d6379eefce9bafb5a031b38df93c6 SHA1 7503c63a29fde6a87d47257cc2bd3afceda6e841 SHA256 858057abdb2876f1371b5f8a87f0d08ef987850227aa96ea98467b7981155b36 size 1022
MD5 eb612ca9150b75c84d0a8dedeb2f483e files/wvstreams-4.2.2-tcl_8_4.patch 1022
-RMD160 cd45fe4b862d6379eefce9bafb5a031b38df93c6 files/wvstreams-4.2.2-tcl_8_4.patch 1022
-SHA256 858057abdb2876f1371b5f8a87f0d08ef987850227aa96ea98467b7981155b36 files/wvstreams-4.2.2-tcl_8_4.patch 1022
-AUX wvstreams-4.2.2-wireless-user.patch 466 RMD160 1d3d9d5ef17892ba941fddac841b908de9303562 SHA1 f1bed39371eb648bc8fb4e6d64693c59003c7d91 SHA256 b47b42821695cd8621156e52f89c0205bfd2ab7f5814892c95575eb5047315fa size 466
+MD5 d6120d7dc3ee356de9144aab47c8e2fc files/wvstreams-4.2.2-uniconfd-ini.patch 804
MD5 78cabecec5a214b5919c61cde43ab70c files/wvstreams-4.2.2-wireless-user.patch 466
-RMD160 1d3d9d5ef17892ba941fddac841b908de9303562 files/wvstreams-4.2.2-wireless-user.patch 466
-SHA256 b47b42821695cd8621156e52f89c0205bfd2ab7f5814892c95575eb5047315fa files/wvstreams-4.2.2-wireless-user.patch 466
-DIST wvstreams-4.0.2.tar.gz 1098599 RMD160 8f041f3b8059d20230f114f171f6c31b6ad872f3 SHA256 186a576115916598a3786df28aed7689bd9551c0ed3eda1a9f991f3bf5b18bb6 size 1098599
-DIST wvstreams-4.2.2.tar.gz 1269821 RMD160 dece6092e847976d01568f20707701a8241d30d2 SHA256 8fa45a6bfe4d6ac3d9a457543844873090d0c7da817991ac0cd547732f475a14 size 1269821
-EBUILD wvstreams-4.0.2-r1.ebuild 2558 RMD160 884c01d337eaea2413bb079b72c6cf38fc63e3f2 SHA1 1ece90abab54139b8aeb9675280dd24cf3b1503d SHA256 849ceec58ec46ca53027a63ac46cdddf0f15265b54efdd91c8bd62e7b7264878 size 2558
+MD5 227de7f678ad662524292836709de75f metadata.xml 313
MD5 e594922148c5a6f7087f083cf392e55c wvstreams-4.0.2-r1.ebuild 2558
-RMD160 884c01d337eaea2413bb079b72c6cf38fc63e3f2 wvstreams-4.0.2-r1.ebuild 2558
-SHA256 849ceec58ec46ca53027a63ac46cdddf0f15265b54efdd91c8bd62e7b7264878 wvstreams-4.0.2-r1.ebuild 2558
-EBUILD wvstreams-4.0.2-r2.ebuild 2595 RMD160 55ce89f5ad3287a0344dd69e1a6d389f66a79536 SHA1 5243134d77f6993e0997ed8fd5870cff7df7147b SHA256 ed89a893a5fcde17ef7831a9f30f7d78475b5ee5365e965c5e6e4b09388c0f51 size 2595
MD5 893ee737135acd020f6245da7959dc5a wvstreams-4.0.2-r2.ebuild 2595
-RMD160 55ce89f5ad3287a0344dd69e1a6d389f66a79536 wvstreams-4.0.2-r2.ebuild 2595
-SHA256 ed89a893a5fcde17ef7831a9f30f7d78475b5ee5365e965c5e6e4b09388c0f51 wvstreams-4.0.2-r2.ebuild 2595
-EBUILD wvstreams-4.2.2.ebuild 2543 RMD160 e561a01c6a73467471efcb9776484af8d8683cb6 SHA1 88842961172f0b7236d942c46fec7fdbaa4bc342 SHA256 b19d93ff8fda8c7d9973b7868c55b1a6e0573db9ef2862baff93803009b6fdb6 size 2543
+MD5 23c4f5469035465548514ddc368028ea wvstreams-4.2.2-r1.ebuild 2594
MD5 51bf2ef4a85cbaf7c6af47794f84014a wvstreams-4.2.2.ebuild 2543
-RMD160 e561a01c6a73467471efcb9776484af8d8683cb6 wvstreams-4.2.2.ebuild 2543
-SHA256 b19d93ff8fda8c7d9973b7868c55b1a6e0573db9ef2862baff93803009b6fdb6 wvstreams-4.2.2.ebuild 2543
-MISC ChangeLog 13501 RMD160 f18648e67eef909b4533d64965833f429a436d9e SHA1 a439f0355f438786131db8644ec91c40823554e3 SHA256 ae74aeb30a3c94ab1ea4c00a318cab2d28f4785c8ba1f393150baf438e059a06 size 13501
-MD5 3aece8d5f3ae93c71ab355689547a539 ChangeLog 13501
-RMD160 f18648e67eef909b4533d64965833f429a436d9e ChangeLog 13501
-SHA256 ae74aeb30a3c94ab1ea4c00a318cab2d28f4785c8ba1f393150baf438e059a06 ChangeLog 13501
-MISC metadata.xml 313 RMD160 e543c31d8ddc948a387dcdcc8638a848c587177b SHA1 a40d5fd17e50dc9f983efc63e5cbb8b407b95c7a SHA256 1ec30d4508abc443f3e9c4829b0e7d7e5c588419344203476818a29f71b98a37 size 313
-MD5 227de7f678ad662524292836709de75f metadata.xml 313
-RMD160 e543c31d8ddc948a387dcdcc8638a848c587177b metadata.xml 313
-SHA256 1ec30d4508abc443f3e9c4829b0e7d7e5c588419344203476818a29f71b98a37 metadata.xml 313
-MD5 8cc8c894e6b85859553c7e3e0e787601 files/digest-wvstreams-4.0.2-r1 250
-RMD160 203f72f2b9b0ba9b1f8e2c698fde9467e3441073 files/digest-wvstreams-4.0.2-r1 250
-SHA256 424dbc3c65894a87d385cf0706f5285349cba4e7ab6eca875859a5b5bc800535 files/digest-wvstreams-4.0.2-r1 250
-MD5 8cc8c894e6b85859553c7e3e0e787601 files/digest-wvstreams-4.0.2-r2 250
-RMD160 203f72f2b9b0ba9b1f8e2c698fde9467e3441073 files/digest-wvstreams-4.0.2-r2 250
-SHA256 424dbc3c65894a87d385cf0706f5285349cba4e7ab6eca875859a5b5bc800535 files/digest-wvstreams-4.0.2-r2 250
-MD5 ce2f63ffae6742f96ede8200eb39c3d1 files/digest-wvstreams-4.2.2 250
-RMD160 ad134621ec5ac0b3b3884506e3abfbf770e34b52 files/digest-wvstreams-4.2.2 250
-SHA256 af8d2d360c3e497dcd8a2f2cc57ec947b2c99a440dff184197b350e60491f451 files/digest-wvstreams-4.2.2 250
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2.2 (GNU/Linux)
+
+iD8DBQFEXFY9jG8pv1lIUX4RAlBWAKC14jaX9qYQ2ZP0BXYgUC2l6rhevgCguVvs
+HOdOYm7nTKri7zu2z/olAQ4=
+=oYj5
+-----END PGP SIGNATURE-----
diff --git a/net-libs/wvstreams/files/digest-wvstreams-4.2.2-r1 b/net-libs/wvstreams/files/digest-wvstreams-4.2.2-r1
new file mode 100644
index 000000000000..2e9bdd6e87ec
--- /dev/null
+++ b/net-libs/wvstreams/files/digest-wvstreams-4.2.2-r1
@@ -0,0 +1 @@
+MD5 103230cb9926cb8f3f4d8dc8584f3b9c wvstreams-4.2.2.tar.gz 1269821
diff --git a/net-libs/wvstreams/files/wvstreams-4.2.2-uniconfd-ini.patch b/net-libs/wvstreams/files/wvstreams-4.2.2-uniconfd-ini.patch
new file mode 100644
index 000000000000..db7edd9a4d44
--- /dev/null
+++ b/net-libs/wvstreams/files/wvstreams-4.2.2-uniconfd-ini.patch
@@ -0,0 +1,14 @@
+diff -Nru wvstreams-4.2.2.orig/Makefile wvstreams-4.2.2/Makefile
+--- wvstreams-4.2.2.orig/Makefile 2006-01-10 23:53:31.000000000 +0200
++++ wvstreams-4.2.2/Makefile 2006-05-06 10:13:33.211497500 +0300
+@@ -182,8 +182,8 @@
+ $(INSTALL_PROGRAM) uniconf/tests/uni $(DESTDIR)$(bindir)/
+ $(INSTALL) -d $(DESTDIR)$(sbindir)
+ $(INSTALL_PROGRAM) uniconf/daemon/uniconfd $(DESTDIR)$(sbindir)/
+- $(INSTALL) -d $(DESTDIR)$(localstatedir)/lib/uniconf
+- touch $(DESTDIR)$(localstatedir)/lib/uniconf/uniconfd.ini
++ $(INSTALL) -d $(DESTDIR)$(localstatedir)/uniconf
++ $(INSTALL_DATA) uniconf/daemon/uniconfd.ini $(DESTDIR)$(localstatedir)/uniconf
+ $(INSTALL) -d $(DESTDIR)$(mandir)/man8
+ $(INSTALL_DATA) uniconf/daemon/uniconfd.8 $(DESTDIR)$(mandir)/man8
+ $(INSTALL_DATA) uniconf/tests/uni.8 $(DESTDIR)$(mandir)/man8
diff --git a/net-libs/wvstreams/wvstreams-4.2.2-r1.ebuild b/net-libs/wvstreams/wvstreams-4.2.2-r1.ebuild
new file mode 100644
index 000000000000..9de68f15fc25
--- /dev/null
+++ b/net-libs/wvstreams/wvstreams-4.2.2-r1.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/wvstreams/wvstreams-4.2.2-r1.ebuild,v 1.1 2006/05/06 07:54:19 mrness Exp $
+
+inherit eutils fixheadtails
+
+DESCRIPTION="A network programming library in C++"
+HOMEPAGE="http://open.nit.ca/wiki/?page=WvStreams"
+SRC_URI="http://open.nit.ca/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
+IUSE="gtk qt qdbm pam slp doc tcltk debug"
+
+RDEPEND=">=sys-libs/db-3
+ >=sys-libs/zlib-1.1.4
+ >=dev-libs/openssl-0.9.7
+ >=dev-libs/xplc-0.3.13
+ qt? ( =x11-libs/qt-3* )
+ qdbm? ( dev-db/qdbm )
+ pam? ( >=sys-libs/pam-0.75 )
+ slp? ( >=net-libs/openslp-1.0.9a )
+ doc? ( app-doc/doxygen )
+ tcltk? ( >=dev-lang/tcl-8.4 dev-lang/swig )"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ >=sys-devel/autoconf-2.59"
+
+src_unpack() {
+ unpack ${A}
+
+ epatch "${FILESDIR}/${P}-gcc41.patch"
+ epatch "${FILESDIR}/${P}-linux-serial.patch"
+ epatch "${FILESDIR}/${P}-wireless-user.patch"
+ epatch "${FILESDIR}/${P}-uniconfd-ini.patch"
+
+ if use tcltk; then
+ epatch "${FILESDIR}/${P}-tcl_8_4.patch"
+ fi
+
+ epatch "${FILESDIR}/${P}-external-xplc.patch"
+ local XPLC_VER=`best_version dev-libs/xplc`
+ XPLC_VER=${XPLC_VER#*/*-} #reduce it to ${PV}-${PR}
+ XPLC_VER=${XPLC_VER%%[_-]*} # main version without beta/pre/patch/revision
+ sed -i -e "s:^xplc_version=.*:xplc_version='${XPLC_VER}':" "${S}/configure.ac" \
+ || die "failed to set current xplc version"
+ rm -r "${S}/xplc"
+
+ use qt && epatch "${FILESDIR}/${P}-MOC-fix.patch"
+
+ ht_fix_file "${S}/configure.ac"
+}
+
+src_compile() {
+ env WANT_AUTOCONF=2.59 autoconf || die "autoconf failed" #needed by xplc and tcl patch
+ #without following, the makefile would remove some files and request
+ #you to run ./configure again
+ touch include/wvautoconf.h.in configure
+
+ local myconf
+ if use qt; then
+ myconf="--with-qt=/usr/qt/3/"
+ export MOC="/usr/qt/3/bin/moc"
+ else
+ myconf="--without-qt"
+ fi
+ econf ${myconf} \
+ `use_with qdbm` \
+ `use_with pam` \
+ `use_with slp openslp` \
+ `use_with tcltk tcl` \
+ `use_enable debug` \
+ --with-xplc \
+ --enable-verbose \
+ --with-bdb \
+ --with-zlib \
+ --with-openssl \
+ || die "configure failed"
+ emake CXXOPTS="-fPIC -DPIC" COPTS="-fPIC -DPIC" || die "compile failed"
+ use doc && doxygen
+}
+
+src_test() {
+ ewarn "Test is disabled for this package!"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ if use doc ; then
+ #the list of files is too big for dohtml -r Docs/doxy-html/*
+ cd Docs/doxy-html &&
+ dohtml -r *
+ fi
+}