summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Kinard <kumba@gentoo.org>2005-09-11 21:46:41 +0000
committerJoshua Kinard <kumba@gentoo.org>2005-09-11 21:46:41 +0000
commitb585a81950196f4791ccf333a9ab75f6713870fd (patch)
tree489aee5ef9707f5df62cc3402484adae03b521dc
parentInitial import of sgibootcd for creating burnable CD images for SGI LiveCDs. (diff)
downloadgentoo-2-b585a81950196f4791ccf333a9ab75f6713870fd.tar.gz
gentoo-2-b585a81950196f4791ccf333a9ab75f6713870fd.tar.bz2
gentoo-2-b585a81950196f4791ccf333a9ab75f6713870fd.zip
Initial import of getdvhoff for calculating the ext2 (rootfs) partition offset on SGI LiveCDs.
(Portage version: 2.0.51.22-r2)
-rw-r--r--sys-boot/getdvhoff/ChangeLog11
-rw-r--r--sys-boot/getdvhoff/Manifest4
-rw-r--r--sys-boot/getdvhoff/files/digest-getdvhoff-0.121
-rw-r--r--sys-boot/getdvhoff/getdvhoff-0.12.ebuild33
-rw-r--r--sys-boot/getdvhoff/metadata.xml14
5 files changed, 63 insertions, 0 deletions
diff --git a/sys-boot/getdvhoff/ChangeLog b/sys-boot/getdvhoff/ChangeLog
new file mode 100644
index 000000000000..66430d04a4aa
--- /dev/null
+++ b/sys-boot/getdvhoff/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for sys-boot/getdvhoff
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/getdvhoff/ChangeLog,v 1.1 2005/09/11 21:46:41 kumba Exp $
+
+*getdvhoff-0.12 (12 Sep 2005)
+
+ 12 Sep 2005; Joshua Kinard <kumba@gentoo.org> +metadata.xml,
+ +getdvhoff-0.12.ebuild:
+ Initial import of getdvhoff for calculating the ext2 (rootfs) partition offset
+ on SGI LiveCDs.
+
diff --git a/sys-boot/getdvhoff/Manifest b/sys-boot/getdvhoff/Manifest
new file mode 100644
index 000000000000..25bd6537cd85
--- /dev/null
+++ b/sys-boot/getdvhoff/Manifest
@@ -0,0 +1,4 @@
+MD5 56ea2ed24e32f64ee1a0a47b30b7a666 metadata.xml 381
+MD5 375ada159275dc0e6c8ca5779d1b9e35 ChangeLog 339
+MD5 4b2c0bca64827723bfd619c7f864f42e getdvhoff-0.12.ebuild 943
+MD5 88674627604ab17ce796f5165025f350 files/digest-getdvhoff-0.12 65
diff --git a/sys-boot/getdvhoff/files/digest-getdvhoff-0.12 b/sys-boot/getdvhoff/files/digest-getdvhoff-0.12
new file mode 100644
index 000000000000..1b9aafae5bae
--- /dev/null
+++ b/sys-boot/getdvhoff/files/digest-getdvhoff-0.12
@@ -0,0 +1 @@
+MD5 5a48a9f0be673cda454ea04e3798019b sgibootcd-0.12.tar.bz2 3588
diff --git a/sys-boot/getdvhoff/getdvhoff-0.12.ebuild b/sys-boot/getdvhoff/getdvhoff-0.12.ebuild
new file mode 100644
index 000000000000..e1fcb2ef3912
--- /dev/null
+++ b/sys-boot/getdvhoff/getdvhoff-0.12.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/getdvhoff/getdvhoff-0.12.ebuild,v 1.1 2005/09/11 21:46:41 kumba Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Utility for use on LiveCDs to calculate offset of the ext2 partition for losetup"
+HOMEPAGE="ftp://ftp.linux-mips.org/pub/linux/mips/people/skylark/"
+SRC_URI="ftp://ftp.linux-mips.org/pub/linux/mips/people/skylark/sgibootcd-${PV}.tar.bz2"
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="-* mips"
+IUSE=""
+DEPEND=""
+RESTRICT="nostrip"
+S="${WORKDIR}/sgibootcd-${PV}"
+MY_S="${S}/helpers"
+
+
+src_compile() {
+ cd ${MY_S}
+ local mycc="$(tc-getCC) ${CFLAGS} -static"
+
+ [ -f "${MY_S}/getdvhoff" ] && rm -f ${MY_S}/getdvhoff
+ einfo "${mycc} getdvhoff.c -o getdvhoff"
+ ${mycc} getdvhoff.c -o getdvhoff
+}
+
+src_install() {
+ cd ${MY_S}
+ dodir /usr/lib/getdvhoff
+ cp ${MY_S}/getdvhoff ${D}/usr/lib/getdvhoff
+}
diff --git a/sys-boot/getdvhoff/metadata.xml b/sys-boot/getdvhoff/metadata.xml
new file mode 100644
index 000000000000..cf342cc69cfe
--- /dev/null
+++ b/sys-boot/getdvhoff/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>mips</herd>
+ <maintainer>
+ <email>mips@gentoo.org</email>
+ <name>Mips Team</name>
+ </maintainer>
+
+ <longdescription>
+ getdvhoff - Utility for use on LiveCDs to calculate offset of the ext2 partition for losetup
+ </longdescription>
+</pkgmetadata>
+