diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2008-06-10 21:34:09 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2008-06-10 21:34:09 +0000 |
commit | 260c62bf0ad804c60317e50630eac98939c5b021 (patch) | |
tree | 1f9e9aac9f9cce1992ae71d84e17ba3ec12d20c3 /net-libs/udns/udns-0.0.9.ebuild | |
parent | Cleaning out old versions. (diff) | |
download | gentoo-2-260c62bf0ad804c60317e50630eac98939c5b021.tar.gz gentoo-2-260c62bf0ad804c60317e50630eac98939c5b021.tar.bz2 gentoo-2-260c62bf0ad804c60317e50630eac98939c5b021.zip |
Initial commit, ebuild by Simon Arlott, see bug #222741.
(Portage version: 2.1.5.4)
Diffstat (limited to 'net-libs/udns/udns-0.0.9.ebuild')
-rw-r--r-- | net-libs/udns/udns-0.0.9.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/net-libs/udns/udns-0.0.9.ebuild b/net-libs/udns/udns-0.0.9.ebuild new file mode 100644 index 000000000000..1f36f4dc504f --- /dev/null +++ b/net-libs/udns/udns-0.0.9.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/udns/udns-0.0.9.ebuild,v 1.1 2008/06/10 21:34:09 nelchael Exp $ + +inherit eutils multilib + +DESCRIPTION="async-capable DNS stub resolver library" +HOMEPAGE="http://www.corpit.ru/mjt/udns.html" +SRC_URI="http://www.corpit.ru/mjt/udns/${P/-/_}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +# Yes, this doesn't depend on any other library beside "system" set +DEPEND="" + +src_compile() { + + # Uses non-standard configure script, econf doesn't work + ./configure || die "configure failed" + emake staticlib sharedlib || die "make failed" + +} + +src_install() { + + dolib.so libudns.so.0 || die "dolib.so failed" + dolib.a libudns.a || die "dolib.a failed" + dosym libudns.so.0 "/usr/$(get_libdir)/libudns.so" || die "dosym failed" + + insinto /usr/include + doins udns.h || die "doins failed" + + doman udns.3 || die "doman failed" + dodoc TODO NOTES || die "dodoc failed" + +} |