summaryrefslogtreecommitdiff
path: root/sys-boot/getdvhoff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-boot/getdvhoff
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-boot/getdvhoff')
-rw-r--r--sys-boot/getdvhoff/Manifest5
-rw-r--r--sys-boot/getdvhoff/getdvhoff-0.12-r1.ebuild36
-rw-r--r--sys-boot/getdvhoff/metadata.xml12
3 files changed, 53 insertions, 0 deletions
diff --git a/sys-boot/getdvhoff/Manifest b/sys-boot/getdvhoff/Manifest
new file mode 100644
index 000000000000..0106258b7c21
--- /dev/null
+++ b/sys-boot/getdvhoff/Manifest
@@ -0,0 +1,5 @@
+DIST sgibootcd-0.12.tar.bz2 3810 SHA256 2b0bfd0ebaa218fec414ff7102b8128dc658110fbeac83a510dc87d6559f299c SHA512 180e4f5a185b14c0b2c8158b368a50a3a55673fa86760e2a424c9533b1bb8ec37824c715ba02fd264621e2e31906ddd310398e9f24cf19147bce3e49fc62da3e WHIRLPOOL a1c98b2b6fc48201f4db47ac3a48cd64bb84becd5d664a8418a02115c47cb462e527aa1ba1dad4c58367441178101fe2661e9e2b08f67f1c8566f73e3c9eb08c
+EBUILD getdvhoff-0.12-r1.ebuild 1111 SHA256 1d1aa431dc201425984a18977f68b3a681779ab3aed10507020f83a85f79c0a3 SHA512 0237e2e6e784edb5c98efcff2cfc7c59bb0a4edb9f0b349303281907d98239ccc8e344942bfe88394e7efba84f2dafef4f5d90a048c4c354013b064c7b38a076 WHIRLPOOL 63a4ba9adf6b0e0a1f3885b2f124cc624103df31490b533653f9457cc34a9d8e6b9dcba3f818e907cade5cb621a752aaea0b204f4d041897a6e952f2f9967c5d
+MISC ChangeLog 2830 SHA256 6d47cf5abac498f96a6f2785f2d67ccf3b4e0854ecff0a9cef49277d7969be3c SHA512 07f872a7427f2f899bb3b382a829aff865fc2ef86a5ad07f396710f4d35a9794496acfc9e366add239ab38b4e077ea1f2b592d8c79462b8994098bc2da90b404 WHIRLPOOL 58bdf172552ccaa30abe04efde2fbdfb7429dda37fcf7952ef8a623c4f45364ceffd27346ab927bb8cbc5e5a1b8e8693adb1ce7fe9e4b9f9be056d9cd74da52f
+MISC ChangeLog-2015 1217 SHA256 0227588c137a1f6809ea73d41ba050f9f216915afb4772a72e89e4433ef20fc7 SHA512 8939341609f79baee538432b576b1b23300a415ad4a7c545a281c276421feddcfb504c7a55db0463305b841c0fcc1ddf30714eebd46b77b812edc005eddcea43 WHIRLPOOL 223ba97afbfe5c5154f8dbd22ae7d9aac4532caeb70eb32f3449c83bdf277b5fd575e281b42211b7a8289f4d5d658d0d412cb9c8aaf5f4e0a86bcdeb5ce16c55
+MISC metadata.xml 376 SHA256 ff8cde3b2d5537933401b949d4a9778bfd699a74f7ff93ef292418a4ca3a8b79 SHA512 9ebced4e75b5b65674d03e6cf1ac6c7c13cce64bca5bcaef4d31a718428e1954b06d2869d56cfc7b0dbeb63c450d48f14b389cf30789ce21a52bb841b4542fb5 WHIRLPOOL 490cb61730b4dddf367e63382313d666bdac3e8926ac5c1365eaf44daafa4db2653a48e15051eb40e75f1e327f065461642e48db3dae5fb8555113ce6cff86d6
diff --git a/sys-boot/getdvhoff/getdvhoff-0.12-r1.ebuild b/sys-boot/getdvhoff/getdvhoff-0.12-r1.ebuild
new file mode 100644
index 000000000000..44d53d1e9199
--- /dev/null
+++ b/sys-boot/getdvhoff/getdvhoff-0.12-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+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="all-rights-reserved"
+SLOT="0"
+KEYWORDS="-* ~mips"
+IUSE=""
+DEPEND="dev-libs/klibc"
+RESTRICT=""
+S="${WORKDIR}/sgibootcd-${PV}"
+MY_S="${S}/helpers"
+
+src_compile() {
+ cd ${MY_S}
+ local mycc="$(tc-getCC)"
+ local mysrc="getdvhoff.c"
+ local klloc="/usr/lib/klibc"
+ local klobjs="${klloc}/lib/crt0.o ${klloc}/lib/libc.a"
+ local klcflags="-march=mips3 -Os -fno-pic -mno-abicalls -I${klloc}/include -I${klloc}/include/bits32 -D__KLIBC__ -nostdlib"
+
+ [ -f "${MY_S}/getdvhoff" ] && rm -f ${MY_S}/${PN}
+ einfo "${mycc} ${klcflags} ${mysrc} ${klobjs} -o ${PN} -N"
+ ${mycc} ${klcflags} ${mysrc} ${klobjs} -o ${PN} -N
+}
+
+src_install() {
+ cd ${MY_S}
+ dodir /usr/lib/${PN}
+ cp "${MY_S}"/"${PN}" "${D}"/usr/lib/"${PN}"
+}
diff --git a/sys-boot/getdvhoff/metadata.xml b/sys-boot/getdvhoff/metadata.xml
new file mode 100644
index 000000000000..e4344125b38d
--- /dev/null
+++ b/sys-boot/getdvhoff/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <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>