git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/ifolder@807 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one
2009-02-22 07:37:05 +00:00
parent 13ac42cde1
commit 5c607000ef
3 changed files with 412 additions and 0 deletions

2
net-libs/gsoap/Manifest Normal file
View File

@@ -0,0 +1,2 @@
DIST gsoap_2.7.12.tar.gz 6537268 RMD160 18aeed686ee71b65abd6035a6dda46d5579cb972 SHA1 ea72438f751702d366fd066ce878c7f43874a07f SHA256 69a81c0c329bb8dbd8f117321879b5c38e1731cc937373953d8b66b0ea0712f6
EBUILD gsoap-2.7.12.ebuild 1543 RMD160 6c8ec09d38abfd4711e226a1f3fb4fd1d3da49a2 SHA1 54228e0dc13cc3d8768b3cdf79dfee560d1c5bab SHA256 76bcfd0bd12dbccabbf5e656ea6c2a89d48c7540a2650685e7ba4630da3eeb8c

View File

@@ -0,0 +1,68 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit eutils
DESCRIPTION="The gSOAP Web services development toolkit offers an XML to C/C++ language binding to ease the development of SOAP/XML Web services in C and C/C++."
HOMEPAGE="http://gsoap2.sourceforge.net"
SRC_URI="mirror://sourceforge/gsoap2/gsoap_${PV}.tar.gz"
IUSE="doc ssl"
DEPEND="sys-devel/bison
sys-devel/flex
ssl? ( >=dev-libs/openssl-0.9.6-r1 )"
LICENSE="GPL-2 gSOAP"
SLOT="0"
KEYWORDS="x86 ~amd64"
S="${WORKDIR}/gsoap-2.7"
MAKEOPTS="-j1"
src_configure() {
econf $(use_enable ssl openssl) --disable-samples || die "configure failed"
}
src_install() {
make DESTDIR=${D} install || die
dodoc *.txt gsoap/*.txt gsoap/doc/*.txt
if use doc; then
dodoc gsoap/*.pdf
dodoc gsoap/doc/*.pdf
dohtml gsoap/*.html
cd ${S}/gsoap/samples
for x in `find . -type d -print`; do
cd ${S}
dodir /usr/share/doc/${P}/samples/$x
done
cp -r gsoap/samples ${D}/usr/share/doc/${P}
cd ${S}/gsoap/doc
for x in `find . -type d -print`; do
cd ${S}
dodir /usr/share/doc/${P}/$x
cp -r gsoap/doc/$x ${D}/usr/share/doc/${P}
done
fi
rm -rf ${D}/usr/share/doc/${P}/magic_VC ${D}/usr/share/doc/${P}/quote_VC
dodir /usr/share/${PN}/import
cd ${S}
for x in stdsoap2.h stdsoap2.c stdsoap2.cpp WS/typemap.dat; do
cp ${S}/gsoap/$x ${D}/usr/share/${PN}
done
cd ${S}
for x in gsoap/import/*; do
cp $x ${D}/usr/share/${PN}/import
done
}