diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2005-05-17 09:18:52 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2005-05-17 09:18:52 +0000 |
commit | 38c1d3604471eba3d07327f99dc42ee66a5f5aca (patch) | |
tree | c841cb3aa4671864d926ae6e928ba091e51c26e9 /net-libs/libwww/libwww-5.4.0-r3.ebuild | |
parent | Added Vietnamese description (diff) | |
download | historical-38c1d3604471eba3d07327f99dc42ee66a5f5aca.tar.gz historical-38c1d3604471eba3d07327f99dc42ee66a5f5aca.tar.bz2 historical-38c1d3604471eba3d07327f99dc42ee66a5f5aca.zip |
New revision with patch to handle mysql-4.1 support.
Diffstat (limited to 'net-libs/libwww/libwww-5.4.0-r3.ebuild')
-rw-r--r-- | net-libs/libwww/libwww-5.4.0-r3.ebuild | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/net-libs/libwww/libwww-5.4.0-r3.ebuild b/net-libs/libwww/libwww-5.4.0-r3.ebuild new file mode 100644 index 000000000000..3bd1f7c70dc2 --- /dev/null +++ b/net-libs/libwww/libwww-5.4.0-r3.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libwww/libwww-5.4.0-r3.ebuild,v 1.1 2005/05/17 09:18:52 robbat2 Exp $ + +inherit eutils + +MY_P=w3c-${P} +DESCRIPTION="A general-purpose client side WEB API" +HOMEPAGE="http://www.w3.org/Library/" +SRC_URI="http://www.w3.org/Library/Distribution/${MY_P}.tgz + mirror://gentoo/libwww-5.4.0-debian-autoconf-2.5.patch.bz2" + +LICENSE="W3C" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 ppc-macos s390 sparc x86" +IUSE="ssl mysql" + +RDEPEND="dev-lang/perl + >=sys-libs/zlib-1.1.4 + mysql? ( >=dev-db/mysql-3.23.26 ) + ssl? ( >=dev-libs/openssl-0.9.6 )" +DEPEND="!dev-libs/9libs + >=sys-devel/autoconf-2.13 + ${RDEPEND}" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PN}-config-liborder.patch + epatch "${WORKDIR}"/${P}-debian-autoconf-2.5.patch + epatch "${FILESDIR}"/${P}-autoconf-gentoo.diff + epatch "${FILESDIR}"/${P}-automake-gentoo.diff # bug #41959 + epatch "${FILESDIR}"/${P}-disable-ndebug-gentoo.diff # bug #50483 + # http://lists.w3.org/Archives/Public/www-lib/2003OctDec/0015.html + # http://www.mysql.gr.jp/mysqlml/mysql/msg/8118 + epatch "${FILESDIR}"/${P}-mysql-4.1.patch + + if use ppc-macos ; then + glibtoolize -c -f || die "libtoolize failed" + else + libtoolize -c -f || die "libtoolize failed" + fi + + aclocal || die "aclocal failed" + autoconf || die "autoconf failed" +} + +src_compile() { + econf \ + --enable-shared \ + --enable-static \ + --with-zlib \ + --with-md5 \ + --with-expat \ + $(use_with mysql) \ + $(use_with ssl) \ + || die + + emake check-am || die + use ppc-macos && echo "#undef HAVE_APPKIT_APPKIT_H" >> wwwconf.h + emake || die +} + +src_install() { + make DESTDIR="${D}" install || die + dodoc ChangeLog + dohtml -r . +} |