summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-12-19 12:22:04 -0500
committerMike Frysinger <vapier@gentoo.org>2015-12-19 12:33:52 -0500
commit85568a10c09d30a1e6049890c1959ab9a1c4473d (patch)
treea5e5c84c785d227d786b68b16c3163f12e00ecc9 /sys-fs/atari-fdisk
parentsci-geosciences/osm2pgsql: Remove protobuf-c (diff)
downloadgentoo-85568a10c09d30a1e6049890c1959ab9a1c4473d.tar.gz
gentoo-85568a10c09d30a1e6049890c1959ab9a1c4473d.tar.bz2
gentoo-85568a10c09d30a1e6049890c1959ab9a1c4473d.zip
sys-fs/atari-fdisk: update to EAPI=5
Diffstat (limited to 'sys-fs/atari-fdisk')
-rw-r--r--sys-fs/atari-fdisk/atari-fdisk-0.7.1.5.4.ebuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/sys-fs/atari-fdisk/atari-fdisk-0.7.1.5.4.ebuild b/sys-fs/atari-fdisk/atari-fdisk-0.7.1.5.4.ebuild
index 84b470043b97..f38a0e826186 100644
--- a/sys-fs/atari-fdisk/atari-fdisk-0.7.1.5.4.ebuild
+++ b/sys-fs/atari-fdisk/atari-fdisk-0.7.1.5.4.ebuild
@@ -2,6 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
+EAPI="5"
+
inherit versionator toolchain-funcs
MY_PV=$(get_version_component_range 1-3)
@@ -15,16 +17,13 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 m68k ~mips ~ppc ~s390 ~sh ~sparc ~x86"
IUSE=""
-DEPEND=""
-
S=${WORKDIR}/${PN}-${MY_PV}
src_compile() {
emake \
CFLAGS="${CFLAGS}" \
LDFLAGS="${LDFLAGS}" \
- COMPILE_ARCH=m68k \
- || die
+ COMPILE_ARCH=m68k
}
src_install() {
@@ -33,10 +32,10 @@ src_install() {
into /
if [[ $(tc-arch) == "m68k" ]] ; then
- dosbin fdisk || die "sbin fdisk failed"
+ dosbin fdisk
dosym fdisk /sbin/atari-fdisk
dosym atari-fdisk.8 /usr/share/man/man8/fdisk.8
else
- dosbin atari-fdisk || die "sbin atari-fdisk failed"
+ dosbin atari-fdisk
fi
}