touchups
authorMike Frysinger <vapier@gentoo.org>
Tue, 4 Jan 2005 21:29:56 +0000 (21:29 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 4 Jan 2005 21:29:56 +0000 (21:29 +0000)
sys-apps/netboot-base/Manifest
sys-apps/netboot-base/netboot-base-20041007.ebuild

index f1b6c5eab3c6287797c71f9bf6abf20be8d3690e..4c5944eb893528e398bcbb009fae8cfdddbcaee0 100644 (file)
@@ -3,12 +3,12 @@ Hash: SHA1
 
 MD5 d4969be6b3f1725977e3e6774a050257 ChangeLog 341
 MD5 607dc51d1f0bcebda4b8fe238ddb7734 metadata.xml 286
-MD5 744a89fd993db8a021683b25112f8759 netboot-base-20041007.ebuild 942
+MD5 9deb2169eb73a07c104b51d77db9d7a8 netboot-base-20041007.ebuild 965
 MD5 70bab51ddf543bb3c33317914b4c5fa3 files/digest-netboot-base-20041007 72
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.9.10 (GNU/Linux)
 
-iD8DBQFBZbLKHTu7gpaalycRAhcsAJ0auJZFjdnT2/p70nBzBLTsTqImAwCdF685
-rds3AKi1w7o0FOJXwdDINok=
-=+7kJ
+iD8DBQFB2wsDroRuSHgZdywRAjYOAJ0bAfVccBalJByUztdOOtaA8KKg8wCdER/Q
+yIt+yiSswW2FuG0ERzVQ11Q=
+=FBrL
 -----END PGP SIGNATURE-----
index 3b2579ff4a0457036f131a461d7b841d13b0bd22..752745be822431d38c0961c6462a9dc75ddecc89 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/netboot-base/netboot-base-20041007.ebuild,v 1.2 2004/10/07 21:18:54 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/netboot-base/netboot-base-20041007.ebuild,v 1.3 2005/01/04 21:29:56 vapier Exp $
 
 inherit gcc
 
@@ -19,24 +19,25 @@ DEPEND=""
 S=${WORKDIR}
 
 pkg_setup() {
-       [ "${ROOT}" == "/" ] && die "refusing to emerge to /"
+       [[ ${ROOT} = "/" ]] && die "refusing to emerge to /"
 }
 
 src_compile() {
-       $(gcc-getCC) ${CFLAGS} src/consoletype.c -o sbin/consoletype || die
-       strip --strip-unneeded sbin/consoletype
+       $(tc-getCC) ${CFLAGS} src/consoletype.c -o sbin/consoletype || die
+       $(tc-getSTRIP) --strip-unneeded sbin/consoletype
 }
 
 src_install() {
-       [ "${ROOT}" == "/" ] && die "refusing to install to /"
+       [[ ${ROOT} = "/" ]] && die "refusing to install to /"
        rm -r src
        cp -r * ${D}/
 }
 
 pkg_postinst() {
-       cd ${ROOT}
+       cd "${ROOT}"
        mkdir -p bin dev etc lib mnt proc sbin var
        mkdir -p var/log
        mkdir -p mnt/gentoo
        ln -s . usr
+       ln -s . share
 }