/[gentoo-x86]/net-misc/sitecopy/sitecopy-0.16.3_p17.ebuild
Gentoo

Contents of /net-misc/sitecopy/sitecopy-0.16.3_p17.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Tue Jun 22 20:06:49 2010 UTC (4 years, 2 months ago) by arfrever
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +3 -3 lines
net-misc/neon renamed to net-libs/neon.
(Portage version: HEAD/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/sitecopy/sitecopy-0.16.3_p17.ebuild,v 1.6 2010/01/07 15:58:41 fauli Exp $
4
5 EAPI="2"
6
7 inherit eutils autotools
8
9 IUSE="expat nls rsh ssl webdav xml zlib"
10
11 DEB_PL="${P##*_p}"
12 MY_P="${P%%_*}"
13 MY_P="${MY_P/-/_}"
14 DESCRIPTION="sitecopy is for easily maintaining remote web sites"
15 SRC_URI="mirror://debian/pool/main/s/${PN}/${MY_P}.orig.tar.gz
16 mirror://debian/pool/main/s/${PN}/${MY_P}-${DEB_PL}.diff.gz"
17 HOMEPAGE="http://packages.debian.org/unstable/sitecopy http://www.lyra.org/sitecopy/"
18 KEYWORDS="amd64 ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
19
20 LICENSE="GPL-2"
21 SLOT="0"
22 DEPEND="rsh? ( net-misc/netkit-rsh )
23 >=net-libs/neon-0.24.6[zlib?,ssl?,expat?]
24 xml? ( >=net-libs/neon-0.24.6[-expat] )"
25
26 S="${WORKDIR}"/${MY_P/_/-}
27
28 src_prepare() {
29 cd "${WORKDIR}" || die
30 # Debian patches
31 epatch ${MY_P}-${DEB_PL}.diff
32 epatch "${S}"/debian/patches/*.dpatch
33
34 cd "${S}" || die
35
36 # Make it work with neon .29
37 epatch "${FILESDIR}"/${PV}-neon-29.patch
38
39 sed -i -e \
40 "s:docdir \= .*:docdir \= \$\(prefix\)\/share/doc\/${PF}:" \
41 Makefile.in || die "Documentation directory patching failed"
42
43 eautoconf
44 eautomake
45 }
46
47 src_configure() {
48 econf \
49 $(use_with ssl ssl openssl) \
50 $(use_enable webdav) \
51 $(use_enable nls) \
52 $(use_enable rsh) \
53 $(use_with expat) \
54 $(use_with xml libxml2 ) \
55 --with-neon \
56 || die "econf failed"
57 }
58
59 src_install() {
60 emake DESTDIR="${D}" install || die "emake install failed"
61 }

  ViewVC Help
Powered by ViewVC 1.1.20