From: Mike Frysinger Date: Sat, 30 Dec 2006 12:57:51 +0000 (+0000) Subject: add support for USE=build X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ecfef5025740aa99fd548342bee529e9428bea97;p=gentoo.git add support for USE=build Package-Manager: portage-2.1.2_rc4-r2 --- diff --git a/sys-apps/makedev/Manifest b/sys-apps/makedev/Manifest index 1a9329388304..fd9e0a0aedd7 100644 --- a/sys-apps/makedev/Manifest +++ b/sys-apps/makedev/Manifest @@ -2,10 +2,10 @@ Hash: SHA1 DIST MAKEDEV-3.23-1.tar.gz 122613 RMD160 059850d224ec02d608c21bc6cd7c21938309b3ef SHA1 8fb64a73182ca561cd6e42a5f8108126b373fdaf SHA256 46cebf1e5e36838a5637bdd2b7af07eb1773599e1288c2d1c777e2875d721965 -EBUILD makedev-3.23.1.ebuild 963 RMD160 fdd0fc29e8f85dfe28d67bb9da32af80744cbdf3 SHA1 9c12089c6380a718b177cf6767e284a7be4b0c0d SHA256 138060e5b3c3c0f077da5dae4a6c22ca5fd83f7fd244a9216140fb81178064f5 -MD5 2fe3317e9463d6855fcc5531f6dccdfe makedev-3.23.1.ebuild 963 -RMD160 fdd0fc29e8f85dfe28d67bb9da32af80744cbdf3 makedev-3.23.1.ebuild 963 -SHA256 138060e5b3c3c0f077da5dae4a6c22ca5fd83f7fd244a9216140fb81178064f5 makedev-3.23.1.ebuild 963 +EBUILD makedev-3.23.1.ebuild 1050 RMD160 50bbfe1f5f354b0787d9ac67da38f273f5f5ea88 SHA1 4ed9959fb92961f3afd519b6a40cc508f50daf1c SHA256 877199372aee364a25619dc4e4e9e05c29030ae935a3965b282721f9a584056f +MD5 a93e5684595af80c4109bb52a65fe8a4 makedev-3.23.1.ebuild 1050 +RMD160 50bbfe1f5f354b0787d9ac67da38f273f5f5ea88 makedev-3.23.1.ebuild 1050 +SHA256 877199372aee364a25619dc4e4e9e05c29030ae935a3965b282721f9a584056f makedev-3.23.1.ebuild 1050 MISC ChangeLog 331 RMD160 2f8e37780e4af41641a1695e3eb78c99aaa6c242 SHA1 ccc64e4919c305da97a1143c4bb517b40784a396 SHA256 885c8ba2bbab8f0f3dcf06bda2f2c3d2182f5be908f0769b2486072578f6c557 MD5 0f5f75602fe2bd642e1fb48b29ccbff9 ChangeLog 331 RMD160 2f8e37780e4af41641a1695e3eb78c99aaa6c242 ChangeLog 331 @@ -20,7 +20,7 @@ SHA256 1f274a2da0763e7d71a62edbe69e44e6f77e8d8c2c772aa1e7940210fe561b77 files/di -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) -iD8DBQFFljYl8bi6rjpTunYRApVdAJ9k7DGbDdNhC1ui9hLszWbqfd+O/gCdGdDd -OvGRFs5zqwIgE/Lt7dyXvfU= -=av1J +iD8DBQFFlmKQ8bi6rjpTunYRAiPFAKCsXY1LcACvuHlPWGupD5oIeiMWbQCbBiO9 +2baCZlbvrHT/tkETrxbuAmQ= +=oh/v -----END PGP SIGNATURE----- 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 }