blob: 0b563ea7dbe97d052adbca35f234b7b638357e8e (
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
50
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-radio/ax25-tools/ax25-tools-0.0.10_rc2.ebuild,v 1.1 2011/01/08 17:12:51 tomjbe Exp $
EAPI="2"
inherit autotools eutils
MY_P=${P/_/-}
DESCRIPTION="Basic AX.25 (Amateur Radio) administrative tools and daemons"
HOMEPAGE="http://www.linux-ax25.org/"
SRC_URI="http://www.linux-ax25.org/pub/${PN}/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="X"
S=${WORKDIR}/${MY_P}
DEPEND="dev-libs/libax25
X? ( x11-libs/libX11
media-libs/mesa )"
RDEPEND=${DEPEND}
src_prepare() {
epatch "${FILESDIR}/${P}-parallel-make.patch"
eautoreconf
}
src_configure() {
econf $(use_with X x)
}
src_install() {
emake DESTDIR="${D}" install installconf || die "emake install failed"
# Package does not respect --docdir
rm -rf "${D}"/usr/share/doc/ax25-tools || die "clean-up doc failed"
dodoc AUTHORS ChangeLog NEWS README tcpip/ttylinkd.README \
user_call/README.user_call yamdrv/README.yamdrv dmascc/README.dmascc \
tcpip/ttylinkd.INSTALL || die "dodoc failed"
newinitd "${FILESDIR}"/ax25d.rc ax25d || die "ax25d rc install failed"
newinitd "${FILESDIR}"/mheardd.rc mheardd || die "mheardd rc install failed"
newinitd "${FILESDIR}"/netromd.rc netromd || die "netromd rc install failed"
newinitd "${FILESDIR}"/rip98d.rc rip98d || die "rip98d rc install failed"
newinitd "${FILESDIR}"/rxecho.rc rxecho || die "rxecho rc install failed"
newinitd "${FILESDIR}"/ttylinkd.rc ttylinkd || die "ttylinkd install failed"
}
|