summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2008-06-11 03:29:44 +0000
committerNed Ludd <solar@gentoo.org>2008-06-11 03:29:44 +0000
commit8609058d87659c0d07edf6991aae16a8c2b34df9 (patch)
tree390b8d76efb2aca1826fe5bfd75e8436eb02a05e /profiles/uclibc
parentAdd myself to metadata.xml as co-maintainer. (diff)
downloadhistorical-8609058d87659c0d07edf6991aae16a8c2b34df9.tar.gz
historical-8609058d87659c0d07edf6991aae16a8c2b34df9.tar.bz2
historical-8609058d87659c0d07edf6991aae16a8c2b34df9.zip
- removing this
Diffstat (limited to 'profiles/uclibc')
-rw-r--r--profiles/uclibc/profile.bashrc62
1 files changed, 0 insertions, 62 deletions
diff --git a/profiles/uclibc/profile.bashrc b/profiles/uclibc/profile.bashrc
deleted file mode 100644
index 34490b3ecbe7..000000000000
--- a/profiles/uclibc/profile.bashrc
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/profiles/uclibc/profile.bashrc,v 1.5 2005/04/18 19:34:43 solar Exp $
-
-#
-# FEATURES="distclean"
-# This feature removes unneeded SRC_URI distfiles in the postinst ebuild phase.
-# This is useful with ramfs/tmpfs and smaller media such as USB sticks.
-#
-
-
-eecho() {
- [ "$NOCOLOR" = "false" ] && echo -ne '\e[1;34m>\e[1;36m>\e[1;35m>\e[0m ' || echo -n ">>> "
- echo "$*"
-}
-
-package_clean_distdir() {
- local a x
- for a in ${FEATURES} ; do
- if [ "$a" = "distclean" ]; then
- for x in ${SRC_URI}; do
- x=$(basename $x)
- if [[ -w $DISTDIR/$x ]]; then
- size="$(ls -lh ${DISTDIR}/${x} | awk '{print $5}')"
- eecho "Auto removing ${x} to save ${size}"
- rm ${DISTDIR}/${x}
- fi
- done
- fi
- done
-}
-
-if [[ $EBUILD_PHASE != "" ]]; then
- PATH="/sbin:/usr/sbin:/usr/lib/portage/bin:/bin:/usr/bin:${ROOTPATH}"
- case "${EBUILD_PHASE}" in
- preinst)
- [[ $ROOT != "" ]] && [[ $ROOT != "/" ]] \
- && [ -r /etc/portage/root_install_mask ] \
- && INSTALL_MASK="${INSTALL_MASK} $(< /etc/portage/root_install_mask)"
- ;;
- postinst)
- package_clean_distdir
- ;;
- # try to stay quiet in depend.
- depend) : ;;
- prerm|postrm|clean) : ;;
- setup|unpack|postinst|compile|*) : ;;
- esac
-fi
-
-# Example of per package env variables
-# Searches and break in the flat text files of
-# pkgname-pkgver-pkgrevision
-# pkgname-pkgver
-# pkgname
-
-#for conf in ${PN}-${PV}-${PR} ${PN}-${PV} ${PN}; do
-# if [[ -r /etc/portage/env/$CATEGORY/${conf} ]]; then
-# . /etc/portage/env/$CATEGORY/${conf}
-# break
-# fi
-#done