summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mylchreest <johnm@gentoo.org>2006-03-20 22:01:10 +0000
committerJohn Mylchreest <johnm@gentoo.org>2006-03-20 22:01:10 +0000
commit784b429d39a5780743d62c9ab478942c30ffe464 (patch)
treefe37e110423d8f51f406cb611a3d1d4c938d47aa /sys-fs/static-dev
parentAdded eutils to inherit line and made games last. (diff)
downloadhistorical-784b429d39a5780743d62c9ab478942c30ffe464.tar.gz
historical-784b429d39a5780743d62c9ab478942c30ffe464.tar.bz2
historical-784b429d39a5780743d62c9ab478942c30ffe464.zip
Initial commit of a static /dev ebuild.
Package-Manager: portage-2.1_pre6-r5
Diffstat (limited to 'sys-fs/static-dev')
-rw-r--r--sys-fs/static-dev/ChangeLog10
-rw-r--r--sys-fs/static-dev/files/digest-static-dev-0.10
-rw-r--r--sys-fs/static-dev/metadata.xml8
-rw-r--r--sys-fs/static-dev/static-dev-0.1.ebuild42
4 files changed, 60 insertions, 0 deletions
diff --git a/sys-fs/static-dev/ChangeLog b/sys-fs/static-dev/ChangeLog
new file mode 100644
index 000000000000..02de13cffe03
--- /dev/null
+++ b/sys-fs/static-dev/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sys-fs/static-dev
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/static-dev/ChangeLog,v 1.1 2006/03/20 22:01:10 johnm Exp $
+
+*static-dev-0.1 (20 Mar 2006)
+
+ 20 Mar 2006; John Mylchreest <johnm@gentoo.org> +metadata.xml,
+ +static-dev-0.1.ebuild:
+ initial commit. A basic static /dev
+
diff --git a/sys-fs/static-dev/files/digest-static-dev-0.1 b/sys-fs/static-dev/files/digest-static-dev-0.1
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/sys-fs/static-dev/files/digest-static-dev-0.1
diff --git a/sys-fs/static-dev/metadata.xml b/sys-fs/static-dev/metadata.xml
new file mode 100644
index 000000000000..3abd5da28d71
--- /dev/null
+++ b/sys-fs/static-dev/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>johnm@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/sys-fs/static-dev/static-dev-0.1.ebuild b/sys-fs/static-dev/static-dev-0.1.ebuild
new file mode 100644
index 000000000000..0ee900b47e72
--- /dev/null
+++ b/sys-fs/static-dev/static-dev-0.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 2005-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild,v 1.1 2006/03/20 22:01:10 johnm Exp $
+
+DESCRIPTION="A skeleton, statically managed /dev"
+HOMEPAGE="http://bugs.gentoo.org/show_bug.cgi?id=107875"
+SRC_URI=""
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~alpha ~arm ~hppa ~ia64 ~m68k ~mips ~s390 ~sparc"
+IUSE=""
+RDEPEND="virtual/baselayout"
+PROVIDE="virtual/dev-manager"
+
+pkg_postinst() {
+ local x="generic"
+ local makedev
+
+ cd "${ROOT}/dev/" || die "Unable to descend into ${ROOT}/dev/"
+
+ for arch in alpha arm hppa ia64 m68k mips s390 sparc; do
+ use ${arch} && x="${x} generic-${arch}"
+ done
+
+ [[ "${CHOST:0:7}" == "mipsel-" ]] && x="${x} generic-mipsel"
+
+ ( use x86 || use amd64 ) && x="${x} generic-i386"
+ ( use ppc || use ppc64 ) && x="${x} generic-powerpc"
+
+ [[ -e ${ROOT}/dev/MAKEDEV ]] && makedev="${ROOT}/dev/MAKEDEV" || makedev="/dev/MAKEDEV"
+
+ einfo "Making device nodes for ${x}"
+ sh ${makedev} ${x} || die "No ${makedev}?"
+}
+
+src_compile() {
+ :
+}
+
+src_install() {
+ :
+}