summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-12-30 12:57:51 +0000
committerMike Frysinger <vapier@gentoo.org>2006-12-30 12:57:51 +0000
commitecfef5025740aa99fd548342bee529e9428bea97 (patch)
tree75f8b3709ab5de62a8d1212e84f960beeeca25be /sys-apps/makedev/makedev-3.23.1.ebuild
parentStable for HPPA (bug #159430). (diff)
downloadhistorical-ecfef5025740aa99fd548342bee529e9428bea97.tar.gz
historical-ecfef5025740aa99fd548342bee529e9428bea97.tar.bz2
historical-ecfef5025740aa99fd548342bee529e9428bea97.zip
add support for USE=build
Package-Manager: portage-2.1.2_rc4-r2
Diffstat (limited to 'sys-apps/makedev/makedev-3.23.1.ebuild')
-rw-r--r--sys-apps/makedev/makedev-3.23.1.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/sys-apps/makedev/makedev-3.23.1.ebuild b/sys-apps/makedev/makedev-3.23.1.ebuild
index f22cf03f5b1e..4b7f57705ecf 100644
--- a/sys-apps/makedev/makedev-3.23.1.ebuild
+++ b/sys-apps/makedev/makedev-3.23.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/makedev/makedev-3.23.1.ebuild,v 1.1 2006/12/30 09:48:20 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/makedev/makedev-3.23.1.ebuild,v 1.2 2006/12/30 12:57:51 vapier Exp $
inherit toolchain-funcs
@@ -15,7 +15,7 @@ SRC_URI="http://people.redhat.com/nalin/MAKEDEV/${MY_P}-${MY_REL}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
-IUSE="selinux"
+IUSE="build selinux"
DEPEND=""
@@ -30,4 +30,9 @@ src_install() {
# set devdir to makedevdir so we dont have to worry about /dev
emake install DESTDIR="${D}" makedevdir=/sbin devdir=/sbin || die
dodoc *.txt
+ keepdir /dev
+}
+
+pkg_postinst() {
+ use build && MAKEDEV -d "${ROOT}"/dev generic
}