diff options
author | 2008-03-01 08:28:47 +0000 | |
---|---|---|
committer | 2008-03-01 08:28:47 +0000 | |
commit | 611b702ebae501b0141a1fbd0962828e79c978d3 (patch) | |
tree | fac6bc5a51e1a69a9e572f25a9353cc8bf50a962 /net-misc/cadaver/cadaver-0.22.5-r1.ebuild | |
parent | Stable on amd64, bug 211696. (diff) | |
download | historical-611b702ebae501b0141a1fbd0962828e79c978d3.tar.gz historical-611b702ebae501b0141a1fbd0962828e79c978d3.tar.bz2 historical-611b702ebae501b0141a1fbd0962828e79c978d3.zip |
Use built_with_use to check for proper SSL support
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'net-misc/cadaver/cadaver-0.22.5-r1.ebuild')
-rw-r--r-- | net-misc/cadaver/cadaver-0.22.5-r1.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/net-misc/cadaver/cadaver-0.22.5-r1.ebuild b/net-misc/cadaver/cadaver-0.22.5-r1.ebuild new file mode 100644 index 000000000000..cc714f0f13ce --- /dev/null +++ b/net-misc/cadaver/cadaver-0.22.5-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/cadaver/cadaver-0.22.5-r1.ebuild,v 1.1 2008/03/01 08:28:47 graaff Exp $ + +inherit eutils + +DESCRIPTION="Command-line WebDAV client." +HOMEPAGE="http://www.webdav.org/cadaver" +SRC_URI="http://www.webdav.org/cadaver/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="nls ssl" + +DEPEND="virtual/libc + >=net-misc/neon-0.26.3" + +pkg_setup() { + if use ssl && ! built_with_use net-misc/neon ssl ; then + ewarn "SSL support in cadaver requires SSL support in net-misc/neon." + ewarn "Please rebuild net-misc/neon with the ssl USE flag if you want to use" + ewarn "cadaver with SSL support." + die "SSL support in cadaver requires SSL support in net-misc/neon" + fi +} + +src_compile() { + myconf="--with-libs=/usr $(use_enable nls)" + econf $myconf || die "econf failed" + emake || die +} + +src_install () { + einstall || die + dodoc BUGS ChangeLog FAQ NEWS README THANKS TODO +} |