diff options
author | Michael Sterrett <msterret@gentoo.org> | 2003-09-07 00:52:23 +0000 |
---|---|---|
committer | Michael Sterrett <msterret@gentoo.org> | 2003-09-07 00:52:23 +0000 |
commit | 682ccc6a5e1e7b6962d59cdf3b70d2a0e331fb8f (patch) | |
tree | afd2b2e75dcfacec006bb02f1db53c46bf6ff092 /sys-apps/baselayout/baselayout-1.8.6.8-r1.ebuild | |
parent | Added distcc crosscompiling support to fix bug #17243, thanks to Francois Gui... (diff) | |
download | gentoo-2-682ccc6a5e1e7b6962d59cdf3b70d2a0e331fb8f.tar.gz gentoo-2-682ccc6a5e1e7b6962d59cdf3b70d2a0e331fb8f.tar.bz2 gentoo-2-682ccc6a5e1e7b6962d59cdf3b70d2a0e331fb8f.zip |
repoman: header fix; whitespace cleanup
Diffstat (limited to 'sys-apps/baselayout/baselayout-1.8.6.8-r1.ebuild')
-rw-r--r-- | sys-apps/baselayout/baselayout-1.8.6.8-r1.ebuild | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/sys-apps/baselayout/baselayout-1.8.6.8-r1.ebuild b/sys-apps/baselayout/baselayout-1.8.6.8-r1.ebuild index b0031908d498..cc18fa8ff775 100644 --- a/sys-apps/baselayout/baselayout-1.8.6.8-r1.ebuild +++ b/sys-apps/baselayout/baselayout-1.8.6.8-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. +# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-1.8.6.8-r1.ebuild,v 1.10 2003/08/03 19:04:25 gmsoft Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-1.8.6.8-r1.ebuild,v 1.11 2003/09/07 00:50:55 msterret Exp $ # This ebuild needs to be merged "live". You can't simply make a package # of it and merge it later. @@ -36,7 +36,7 @@ RDEPEND="${DEPEND} # This version of baselayout needs gawk in /bin, but as we do not have # a c++ compiler during bootstrap, we cannot depend on it if "bootstrap" # or "build" are in USE. - + src_unpack() { unpack sysvinit-${SVIV}.tar.gz @@ -58,7 +58,7 @@ src_unpack() { fi cd ${S}/etc - + # Fix Sparc specific stuff if [ "${ARCH}" = "sparc" ] then @@ -111,7 +111,7 @@ src_compile() { if [ -z "`use bootstrap`" ] then - # We let gawk now install filefuncs.so, and that is as a symlink to a + # We let gawk now install filefuncs.so, and that is as a symlink to a # versioned .so ... if [ -f /usr/include/awk/awk.h -a ! -L ${ROOT}/lib/rcscripts/filefuncs.so ] then @@ -123,7 +123,7 @@ src_compile() { # eerror "sys-apps/gawk-3.1.1-r1 or later installed" # die "problem compiling gawk module" # } - + eerror "Please install sys-apps/gawk-3.1.1-r2 or later!" die "gawk too old" fi @@ -160,7 +160,7 @@ keepdir_mount() { for y in $* do doit=0 - + for x in $(gawk '{print $2}' /proc/mounts) do [ "${x}" = "${y}" ] && doit=1 @@ -204,11 +204,11 @@ src_install() { keepdir /usr/include /usr/src keepdir /usr/X11R6/include/{X11,GL} /usr/X11R6/lib keepdir /usr/X11R6/lib /usr/X11R6/man /usr/X11R6/share - + # If it already exist, do not recreate, else we get # problems when /usr/portage mounted as ro NFS, etc. keepdir_mount /usr/portage - + #dosym ../src/linux/include/linux /usr/include/linux #dosym ../src/linux/include/asm-i386 /usr/include/asm # Important note: Gentoo Linux 1.0_rc6 no longer uses symlinks to /usr/src for includes. @@ -224,27 +224,27 @@ src_install() { keepdir /usr/local/${foo} done # Local FHS compat symlinks - dosym share/man /usr/local/man - dosym share/doc /usr/local/doc + dosym share/man /usr/local/man + dosym share/doc /usr/local/doc # FHS compatibility symlinks stuff dosym share/man /usr/man dosym share/doc /usr/doc dosym share/info /usr/info dosym ../../share/info /usr/X11R6/share/info - dosym ../X11R6/include/X11 /usr/include/X11 - dosym ../X11R6/include/GL /usr/include/GL - dosym ../X11R6/lib/X11 /usr/lib/X11 + dosym ../X11R6/include/X11 /usr/include/X11 + dosym ../X11R6/include/GL /usr/include/GL + dosym ../X11R6/lib/X11 /usr/lib/X11 # End FHS compatibility symlinks stuff # The .keep file messes up Portage when looking in /var/db/pkg - dodir /var/db/pkg + dodir /var/db/pkg chmod 1777 ${D}/var/tmp keepdir /root - + # /proc is very likely mounted right now so a keepdir will fail on merge - dodir /proc - + dodir /proc + chmod go-rx ${D}/root keepdir /tmp /var/lock chmod 1777 ${D}/tmp @@ -285,7 +285,7 @@ src_install() { keepdir /dev keepdir /dev/pts /dev/shm dosym ../sbin/MAKEDEV /dev/MAKEDEV - fi + fi cd ${S}/sbin into / @@ -366,11 +366,11 @@ src_install() { docinto sysvinit-${SVIV} dodoc COPYRIGHT README doc/* fi - + for foo in ${S}/man/* do [ -f ${foo} ] && doman ${foo} - done + done docinto / dodoc ${FILESDIR}/copyright dodoc ${S}/ChangeLog @@ -388,7 +388,7 @@ src_install() { do [ -f ${foo} ] && doins ${foo} done - + keepdir /etc/modules.d insinto /etc/modules.d doins ${S}/etc/modules.d/aliases ${S}/etc/modules.d/i386 @@ -401,7 +401,7 @@ src_install() { done # Now ships with net-dialup/ppp ... - rm -f ${D}/etc/{conf,init}.d/net.ppp* + rm -f ${D}/etc/{conf,init}.d/net.ppp* dodir /etc/skel insinto /etc/skel @@ -414,7 +414,7 @@ src_install() { # Skip this if we are merging to ROOT [ "${ROOT}" = "/" ] && return 0 - + # Set up default runlevel symlinks for foo in default boot nonetwork single do @@ -463,7 +463,7 @@ pkg_preinst() { ${ROOT}/etc/modules.autoload.d/kernel-2.4 ln -snf modules.autoload.d/kernel-2.4 ${ROOT}/etc/modules.autoload fi - + # Make sure user get things updated first time he merge 1.8.6 ... if [ -f "${WORKDIR}/update_init_d" ] then @@ -498,7 +498,7 @@ pkg_postinst() { cd ${ROOT}/dev # These devices are also needed by many people and should be included einfo "Making device nodes (this could take a minute or so...)" - + case ${ARCH} in x86) einfo "Using generic-i386 to make device nodes..." @@ -529,10 +529,10 @@ pkg_postinst() { ${ROOT}/sbin/MAKEDEV generic ;; esac - + ${ROOT}/sbin/MAKEDEV sg ${ROOT}/sbin/MAKEDEV scd - ${ROOT}/sbin/MAKEDEV rtc + ${ROOT}/sbin/MAKEDEV rtc ${ROOT}/sbin/MAKEDEV audio ${ROOT}/sbin/MAKEDEV hde ${ROOT}/sbin/MAKEDEV hdf @@ -603,7 +603,7 @@ EOF cp -f "${S}/${rcconfd}" "${ROOT}/${rcconfd}" fi - # Replace and backup /etc/inittab (unless already in new format) + # Replace and backup /etc/inittab (unless already in new format) if [ -f "${ROOT}/${inittab}" ] && \ [ -z "$(grep '^si::sysinit:/sbin/rc sysinit' "${ROOT}/${inittab}")" ] then @@ -626,7 +626,7 @@ EOF if [ -d "${ROOT}/${oldsvcdir}/started" ] then cp -ax "${ROOT}/${oldsvcdir}"/* "${ROOT}/${svcdir}" - + elif [ -d "${ROOT}/mnt/.init.d/started" ] then cp -ax "${ROOT}/mnt/.init.d"/* "${ROOT}/${svcdir}" @@ -673,7 +673,7 @@ EOF echo ewarn " # etc-update" echo - + if [ -f "${ROOT}/etc/env.d/99foo" ] then echo |