/[gentoo-x86]/net-misc/sitecopy/sitecopy-0.16.6_p3.ebuild
Gentoo

Contents of /net-misc/sitecopy/sitecopy-0.16.6_p3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Jan 16 20:51:19 2011 UTC (3 years, 9 months ago) by hwoarang
Branch: MAIN
CVS Tags: HEAD
Version bump. Bug #351637. Thanks to Roger Zauner <rogerx.oss@gmail.com>

(Portage version: 2.1.9.31/cvs/Linux x86_64)

1 # Copyright 1999-2011 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.7 2010/06/22 20:06:49 arfrever Exp $
4
5 EAPI="2"
6
7 inherit eutils autotools
8
9 DEB_PL="${P##*_p}"
10 MY_P="${P%%_*}"
11 MY_P="${MY_P/-/_}"
12 DESCRIPTION="Maintain remote web sites with ease"
13 SRC_URI="mirror://debian/pool/main/s/${PN}/${MY_P}.orig.tar.gz
14 mirror://debian/pool/main/s/${PN}/${MY_P}-${DEB_PL}.diff.gz"
15 HOMEPAGE=" http://www.manyfish.co.uk/sitecopy/ http://packages.debian.org/unstable/sitecopy"
16 KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
17
18 LICENSE="GPL-2"
19 SLOT="0"
20 IUSE="expat nls rsh ssl webdav xml zlib"
21
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 RDEPEND="${DEPEND}"
27
28 S="${WORKDIR}"/${MY_P/_/-}
29
30 src_prepare() {
31 cd "${WORKDIR}" || die
32 # Debian patches
33 epatch ${MY_P}-${DEB_PL}.diff
34
35 cd "${S}" || die
36 epatch "${S}"/debian/patches/*.dpatch
37
38 sed -i -e \
39 "s:docdir \= .*:docdir \= \$\(prefix\)\/share/doc\/${PF}:" \
40 Makefile.in || die "Documentation directory patching failed"
41 eautoconf
42 eautomake
43 }
44
45 src_configure() {
46 econf \
47 $(use_with ssl ssl openssl) \
48 $(use_enable webdav) \
49 $(use_enable nls) \
50 $(use_enable rsh) \
51 $(use_with expat) \
52 $(use_with xml libxml2 ) \
53 --with-neon \
54 || die "econf failed"
55 }
56
57 src_install() {
58 emake DESTDIR="${D}" install || die "emake install failed"
59 }

  ViewVC Help
Powered by ViewVC 1.1.20