blob: cde46a1f95fed495365a36bb3c0892e3b0ee04d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-pda/p3nfs/p3nfs-5.18-r1.ebuild,v 1.2 2005/10/07 13:45:35 s4t4n Exp $
inherit eutils flag-o-matic
DESCRIPTION="Symbian to Unix and Linux communication program"
HOMEPAGE="http://www.koeniglich.de/p3nfs.html"
SRC_URI="http://www.koeniglich.de/packages/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE=""
DEPEND="net-nds/portmap
>=sys-apps/sed-4"
src_unpack() {
unpack ${A}
cd ${S}/nfsd
#Patch to fix bug #89537
epatch ${FILESDIR}/${P}-fix-defines.patch
}
src_compile() {
append-ldflags -Wl,-z,now
sed -i "s:\$(LDFLAGS):${LDFLAGS}:" ${S}/nfsd/Makefile.in
econf || die "econf failed"
emake CFLAGS="${CFLAGS} -Wall -I." || die "emake failed"
}
src_install() {
emake DESTDIR=${D} install || die "emake install failed"
dodoc CHANGES README TODO
}
pkg_postinst() {
einfo
einfo "You need to install one of the nfsapp-*.sis clients on your"
einfo "Symbian device to be able to mount it's filesystems."
einfo
einfo "Make sure to have portmap running before you start the"
einfo "p3nfsd server."
einfo
}
|