summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2008-06-10 21:45:05 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2008-06-10 21:45:05 +0000
commitc3cdf757bc163de4ea74ebb15cebe1dd6a8e6045 (patch)
treed62233fd5b9901ed7ec3d996e1b78a8ab86445e4
parentInitial commit, ebuild by Simon Arlott, see bug #222741. (diff)
downloadhistorical-c3cdf757bc163de4ea74ebb15cebe1dd6a8e6045.tar.gz
historical-c3cdf757bc163de4ea74ebb15cebe1dd6a8e6045.tar.bz2
historical-c3cdf757bc163de4ea74ebb15cebe1dd6a8e6045.zip
Improve ebuild, changes by Thomas Anderson (gentoofan23).
Package-Manager: portage-2.1.5.4
-rw-r--r--net-libs/udns/ChangeLog6
-rw-r--r--net-libs/udns/Manifest10
-rw-r--r--net-libs/udns/udns-0.0.9.ebuild19
3 files changed, 22 insertions, 13 deletions
diff --git a/net-libs/udns/ChangeLog b/net-libs/udns/ChangeLog
index 00a8c00f59bc..c28fcd1f8520 100644
--- a/net-libs/udns/ChangeLog
+++ b/net-libs/udns/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-libs/udns
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/udns/ChangeLog,v 1.1 2008/06/10 21:34:09 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/udns/ChangeLog,v 1.2 2008/06/10 21:45:05 nelchael Exp $
+
+ 10 Jun 2008; Krzysiek Pawlik <nelchael@gentoo.org> udns-0.0.9.ebuild:
+ Improve ebuild, changes by Thomas Anderson (gentoofan23)
+ <gentoofan23@gmail.com>.
*udns-0.0.9 (10 Jun 2008)
diff --git a/net-libs/udns/Manifest b/net-libs/udns/Manifest
index 82f9d1ccf7a0..50b7c57aa74f 100644
--- a/net-libs/udns/Manifest
+++ b/net-libs/udns/Manifest
@@ -2,13 +2,13 @@
Hash: SHA1
DIST udns_0.0.9.tar.gz 84307 RMD160 c2d79b97cda87614a644da6a1be2d55f354d8a22 SHA1 9792ac12619d23d3086f960561428238c41a25e0 SHA256 cfc5f9b5387f96e48fc9c7aa5ef6511809e6c72c0df0d533cf150016816eaad2
-EBUILD udns-0.0.9.ebuild 1019 RMD160 93b7fe6b6751cd559ebe10c5f490dc931934ec33 SHA1 412876aaf54c78402bf85cf32842d7b44a35d533 SHA256 548d092e97384e27af3215b6cc348a400aededdfc13365f8938ed92f3cc33af1
-MISC ChangeLog 415 RMD160 2fb7f7dd63ce9e2f097c6db09ce04f0ad029fb4b SHA1 2a6845dccb132fb20bda3f3fbba283d912b0bb7a SHA256 71087db1d2d0ad259ff959da612e5cb13f4f23aa6abc052e20922038d43e8780
+EBUILD udns-0.0.9.ebuild 1166 RMD160 44758420d9077f2ba407b3256abcd561ce3b22b0 SHA1 c90e381d9dc612b196ac52d6a8fd83149a3ec672 SHA256 7bf07959c75d7d50380fab5c1f53295d6afbddab306b962ecd1c65d9eab94e4a
+MISC ChangeLog 574 RMD160 8664aaa8d29e7ff88137441ce8107e8ed351325e SHA1 ef4444793b043847adea10df6a9a2c6ce1132108 SHA256 aa1aaaf1c2f09cb590f901e0433eb3efee9aabca6d806a120a6aba90825fde4a
MISC metadata.xml 335 RMD160 2f157b703c8d7661055385f71b5ea10b189558d2 SHA1 f4eab09b0e0f8d97e220381eef078ff13fa9ab29 SHA256 db136b58a51559eecc3da06e313f6920ec6f43c062cd09bbe74cbd77339f747c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAkhO81cACgkQgo/w9rxVVVHUIwCglPRSnOlCzW3HhUOI9flf0efF
-EBIAn1nTGSThacy82lansvnwcdDPkPRH
-=BPjG
+iEYEARECAAYFAkhO9ecACgkQgo/w9rxVVVHx8ACgl0vTziXc2Ny3ImAehYwlk6f2
+utkAn286FzL03SkGJPrAIouG5fca6TTI
+=rjBM
-----END PGP SIGNATURE-----
diff --git a/net-libs/udns/udns-0.0.9.ebuild b/net-libs/udns/udns-0.0.9.ebuild
index 1f36f4dc504f..ef0c4f35e76e 100644
--- a/net-libs/udns/udns-0.0.9.ebuild
+++ b/net-libs/udns/udns-0.0.9.ebuild
@@ -1,17 +1,17 @@
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/udns/udns-0.0.9.ebuild,v 1.2 2008/06/10 21:45:05 nelchael Exp $
-inherit eutils multilib
+inherit multilib
-DESCRIPTION="async-capable DNS stub resolver library"
+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=""
+IUSE="ipv6 static"
# Yes, this doesn't depend on any other library beside "system" set
DEPEND=""
@@ -19,16 +19,21 @@ DEPEND=""
src_compile() {
# Uses non-standard configure script, econf doesn't work
- ./configure || die "configure failed"
- emake staticlib sharedlib || die "make failed"
+ ./configure $(use_enable ipv6) || die "Configure failed"
+ emake sharedlib || die "Shared library compilation failed"
+ if use static; then
+ emake staticlib || die "Static library compilation failed"
+ fi
}
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"
+ if use static; then
+ dolib.a libudns.a || die "dolib.a failed"
+ fi
insinto /usr/include
doins udns.h || die "doins failed"