summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkolla <kolla@supersmurf.kolla.no>2009-01-19 03:39:51 +0100
committerkolla <kolla@supersmurf.kolla.no>2009-01-19 03:39:51 +0100
commit0efd34c45baa9edd5af8556b926d7ce3e65bd3ad (patch)
tree5f4f62d553580bf293e6ccbd3a02bc085d48a7be /sys-fs/atari-fdisk/atari-fdisk-0.7.1.5.3.ebuild
downloadm68k-0efd34c45baa9edd5af8556b926d7ce3e65bd3ad.tar.gz
m68k-0efd34c45baa9edd5af8556b926d7ce3e65bd3ad.tar.bz2
m68k-0efd34c45baa9edd5af8556b926d7ce3e65bd3ad.zip
populate m68k overlay
Diffstat (limited to 'sys-fs/atari-fdisk/atari-fdisk-0.7.1.5.3.ebuild')
-rw-r--r--sys-fs/atari-fdisk/atari-fdisk-0.7.1.5.3.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/sys-fs/atari-fdisk/atari-fdisk-0.7.1.5.3.ebuild b/sys-fs/atari-fdisk/atari-fdisk-0.7.1.5.3.ebuild
new file mode 100644
index 0000000..897b5e8
--- /dev/null
+++ b/sys-fs/atari-fdisk/atari-fdisk-0.7.1.5.3.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/atari-fdisk/atari-fdisk-0.7.1.5.1.ebuild,v 1.5 2006/10/21 23:03:18 vapier Exp $
+
+inherit versionator toolchain-funcs
+
+MY_PV=$(get_version_component_range 1-3)
+DEB_PV=$(get_version_component_range 4-5)
+DESCRIPTION="create and edit the partition table of a disk partitioned in Atari format"
+HOMEPAGE="http://packages.qa.debian.org/a/atari-fdisk.html"
+SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${MY_PV}-${DEB_PV}.tar.gz"
+
+LICENSE="GPL-2"
+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
+}
+
+src_install() {
+ dodoc NEWS README TODO debian/changelog
+ doman debian/atari-fdisk.8
+
+ into /
+ if [[ $(tc-arch) == "m68k" ]] ; then
+ dosbin fdisk || die "sbin fdisk failed"
+ dosym fdisk /sbin/atari-fdisk
+ dosym atari-fdisk.8 /usr/share/man/man8/fdisk.8
+ else
+ dosbin atari-fdisk || die "sbin atari-fdisk failed"
+ fi
+}