Mercurial > hg > portage
annotate net-fs/davfs2/davfs2-1.5.2.ebuild @ 468:452cbe2f0c48
update for the psi-plus ebuild
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Sat, 02 Mar 2019 07:32:01 +0100 |
parents | da8488c002f2 |
children |
rev | line source |
---|---|
376
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
1 # Copyright 1999-2014 Gentoo Foundation |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
2 # Distributed under the terms of the GNU General Public License v2 |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
3 # $Header: /var/cvsroot/gentoo-x86/net-fs/davfs2/davfs2-1.4.7.ebuild,v 1.7 2014/08/10 20:54:46 slyfox Exp $ |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
4 |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
5 EAPI=4 |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
6 |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
7 inherit autotools eutils linux-mod user |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
8 |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
9 DESCRIPTION="Linux FUSE (or coda) driver that allows you to mount a WebDAV resource" |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
10 HOMEPAGE="http://savannah.nongnu.org/projects/davfs2" |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
11 SRC_URI="http://mirror.lihnidos.org/GNU/savannah/davfs2/${P}.tar.gz" |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
12 |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
13 LICENSE="GPL-2" |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
14 SLOT="0" |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
15 KEYWORDS="amd64 ppc x86" |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
16 IUSE="" |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
17 RESTRICT="test" |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
18 |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
19 DEPEND="dev-libs/libxml2 |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
20 net-libs/neon |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
21 sys-libs/zlib" |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
22 RDEPEND="${DEPEND}" |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
23 |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
24 pkg_setup() { |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
25 enewgroup davfs2 |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
26 } |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
27 |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
28 src_prepare() { |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
29 sed -e "s/^NE_REQUIRE_VERSIONS.*29/& 30/" -i configure.ac |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
30 eautoreconf |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
31 } |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
32 |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
33 src_configure() { |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
34 econf dav_user=nobody --enable-largefile --docdir=/usr/share/doc/${P} |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
35 } |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
36 |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
37 src_compile() { |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
38 emake |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
39 } |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
40 |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
41 src_install() { |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
42 emake DESTDIR="${D}" install |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
43 # dodoc AUTHORS BUGS ChangeLog FAQ NEWS README README.translators THANKS TODO |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
44 |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
45 dodir /var/run/mount.davfs |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
46 keepdir /var/run/mount.davfs |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
47 fowners root:davfs2 /var/run/mount.davfs |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
48 fperms 1774 /var/run/mount.davfs |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
49 |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
50 } |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
51 |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
52 pkg_postinst() { |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
53 elog |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
54 elog "Quick setup:" |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
55 elog " (as root)" |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
56 elog " # gpasswd -a \${your_user} davfs2" |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
57 elog " # echo 'http://path/to/dav /home/\${your_user}/dav davfs rw,user,noauto 0 0' >> /etc/fstab" |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
58 elog " (as user)" |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
59 elog " # mkdir -p ~/dav" |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
60 elog " \$ mount ~/dav" |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
61 elog |
da8488c002f2
add an ebuild for davfs2 v1.5.2
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
62 } |