blob: fbf7d50af6968ec17b3ef0f941eb2884c0af3b37 (
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
|
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="6"
inherit eutils
DESCRIPTION="The IPX Utilities"
HOMEPAGE="ftp://sunsite.unc.edu/pub/Linux/system/filesystems/ncpfs/"
SRC_URI="ftp://sunsite.unc.edu/pub/Linux/system/filesystems/ncpfs/${P/-utils}.tar.gz"
LICENSE="ipx-utils GPL-2" # GPL-2 only for init script
SLOT="0"
KEYWORDS="amd64 ppc64 x86"
IUSE=""
DEPEND=""
S=${WORKDIR}/${P/-utils}
src_prepare() {
sed -i "s:-O2 -Wall:${CFLAGS}:" "${S}"/Makefile
eapply "${FILESDIR}"/${P}-makefile.patch
eapply "${FILESDIR}"/${P}-proc.patch #67642
default
}
src_install() {
doman *.8
newconfd "${FILESDIR}"/ipx.confd ipx
newinitd "${FILESDIR}"/ipx.init ipx
default
}
|