summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-02 10:55:19 +0100
committerSam James <sam@gentoo.org>2021-04-03 16:43:25 +0100
commit74f41acfcb84c626c3b49eac0ce28f380c773528 (patch)
tree0e5840d92fb1c7bb909ce268a3006d9227517e22 /media-radio/ax25-apps
parentmedia-plugins/tap-plugins: fix variable references (diff)
downloadgentoo-74f41acfcb84c626c3b49eac0ce28f380c773528.tar.gz
gentoo-74f41acfcb84c626c3b49eac0ce28f380c773528.tar.bz2
gentoo-74f41acfcb84c626c3b49eac0ce28f380c773528.zip
media-radio/ax25-apps: fix variable references
Package-Manager: Portage-3.0.14-prefix, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-radio/ax25-apps')
-rw-r--r--media-radio/ax25-apps/ax25-apps-0.0.8_rc5.ebuild22
1 files changed, 13 insertions, 9 deletions
diff --git a/media-radio/ax25-apps/ax25-apps-0.0.8_rc5.ebuild b/media-radio/ax25-apps/ax25-apps-0.0.8_rc5.ebuild
index 37448bf8141a..7f142a5fac48 100644
--- a/media-radio/ax25-apps/ax25-apps-0.0.8_rc5.ebuild
+++ b/media-radio/ax25-apps/ax25-apps-0.0.8_rc5.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+
inherit autotools
MY_P=${P/_/-}
@@ -15,11 +16,14 @@ SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""
-RDEPEND=">=dev-libs/libax25-0.0.12_rc2
- sys-libs/ncurses:="
-DEPEND="${RDEPEND}
+RDEPEND="
+ >=dev-libs/libax25-0.0.12_rc2
+ sys-libs/ncurses:=
virtual/pkgconfig
- !dev-ruby/listen"
+ !dev-ruby/listen
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
S=${WORKDIR}/${MY_P}
@@ -27,7 +31,7 @@ src_prepare() {
eapply_user
# fix missing prototype for malloc
sed -i -e "/^#include /i #include <stdlib.h>" ax25ipd/routing.c || die
- eapply "$FILESDIR"/$PN-0.0.8_rc5-tinfo.patch
+ eapply "${FILESDIR}"/${PN}-0.0.8_rc5-tinfo.patch
eautoreconf
}
@@ -38,12 +42,12 @@ src_install() {
newinitd "${FILESDIR}"/ax25mond.rc ax25mond
newinitd "${FILESDIR}"/ax25rtd.rc ax25rtd
- rm -rf "${ED}"/usr/share/doc/ax25-apps
+ rm -rf "${ED}"/usr/share/doc/ax25-apps || die
dodoc AUTHORS ChangeLog NEWS README ax25ipd/README.ax25ipd \
ax25rtd/README.ax25rtd ax25ipd/HISTORY.ax25ipd ax25rtd/TODO.ax25rtd
dodir /var/lib/ax25/ax25rtd
- touch "${ED}"/var/lib/ax25/ax25rtd/ax25_route
- touch "${ED}"/var/lib/ax25/ax25rtd/ip_route
+ touch "${ED}"/var/lib/ax25/ax25rtd/ax25_route || die
+ touch "${ED}"/var/lib/ax25/ax25rtd/ip_route || die
}