summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-01-14 02:57:36 +0000
committerMike Frysinger <vapier@gentoo.org>2009-01-14 02:57:36 +0000
commita8618b64456f2985431413a98c5320d689489b32 (patch)
tree65c296453cf0e967a31685c6cd62f5adb09cc4f2 /sys-fs/arm-fdisk
parent0.13 release (diff)
downloadgentoo-2-a8618b64456f2985431413a98c5320d689489b32.tar.gz
gentoo-2-a8618b64456f2985431413a98c5320d689489b32.tar.bz2
gentoo-2-a8618b64456f2985431413a98c5320d689489b32.zip
Update debian patchset.
(Portage version: 2.2_rc20/cvs/Linux 2.6.28 x86_64)
Diffstat (limited to 'sys-fs/arm-fdisk')
-rw-r--r--sys-fs/arm-fdisk/ChangeLog10
-rw-r--r--sys-fs/arm-fdisk/arm-fdisk-3.0.6-r1.ebuild37
2 files changed, 45 insertions, 2 deletions
diff --git a/sys-fs/arm-fdisk/ChangeLog b/sys-fs/arm-fdisk/ChangeLog
index 5f6fb5ec3ee4..c72ffc4ea649 100644
--- a/sys-fs/arm-fdisk/ChangeLog
+++ b/sys-fs/arm-fdisk/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-fs/arm-fdisk
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/arm-fdisk/ChangeLog,v 1.8 2008/10/14 15:17:32 flameeyes Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/arm-fdisk/ChangeLog,v 1.9 2009/01/14 02:57:36 vapier Exp $
+
+*arm-fdisk-3.0.6-r1 (14 Jan 2009)
+
+ 14 Jan 2009; Mike Frysinger <vapier@gentoo.org>
+ +arm-fdisk-3.0.6-r1.ebuild:
+ Update debian patchset.
14 Oct 2008; Diego Pettenò <flameeyes@gentoo.org> arm-fdisk-3.0.6.ebuild:
Let CFLAGS be respected during src_compile rather than being set in stone.
diff --git a/sys-fs/arm-fdisk/arm-fdisk-3.0.6-r1.ebuild b/sys-fs/arm-fdisk/arm-fdisk-3.0.6-r1.ebuild
new file mode 100644
index 000000000000..d744c9d58898
--- /dev/null
+++ b/sys-fs/arm-fdisk/arm-fdisk-3.0.6-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/arm-fdisk/arm-fdisk-3.0.6-r1.ebuild,v 1.1 2009/01/14 02:57:36 vapier Exp $
+
+inherit eutils
+
+DEB_VER=6.2
+DESCRIPTION="edit disk partitions on Acorn machines"
+HOMEPAGE="http://www.arm.linux.org.uk/"
+SRC_URI="ftp://ftp.arm.linux.org.uk/pub/armlinux/source/other/${P}.tar.gz
+ mirror://debian/pool/main/a/acorn-fdisk/acorn-fdisk_${PV}-${DEB_VER}.diff.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~s390 ~sh ~sparc ~x86"
+IUSE=""
+
+DEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${WORKDIR}"/acorn-fdisk_${PV}-${DEB_VER}.diff
+
+ find "${S}" -name Makefile -print0 | xargs -0 \
+ sed -i \
+ -e "s:-O2 -Wall\( -g\)\?::" \
+ -e "/^CFLAGS/s:=:+=:" \
+ -e '/^STRIP/s:strip:true:'
+}
+
+src_install() {
+ into /
+ newsbin fdisk ${PN} || die "sbin failed"
+ dosym ${PN} /sbin/acorn-fdisk
+ dodoc ChangeLog README debian/changelog
+}