diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-01-13 23:15:18 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-01-13 23:15:18 +0000 |
commit | 91232b9071a6ee095d1a8c7baadeb2d340656732 (patch) | |
tree | a27af0a3164565347ab80c8a13cf12cb2ad7457b /app-portage | |
parent | Automated update of use.local.desc (diff) | |
download | gentoo-2-91232b9071a6ee095d1a8c7baadeb2d340656732.tar.gz gentoo-2-91232b9071a6ee095d1a8c7baadeb2d340656732.tar.bz2 gentoo-2-91232b9071a6ee095d1a8c7baadeb2d340656732.zip |
old
Diffstat (limited to 'app-portage')
-rw-r--r-- | app-portage/portage-utils/portage-utils-0.1.29.ebuild | 65 | ||||
-rw-r--r-- | app-portage/portage-utils/portage-utils-0.2.ebuild | 60 |
2 files changed, 0 insertions, 125 deletions
diff --git a/app-portage/portage-utils/portage-utils-0.1.29.ebuild b/app-portage/portage-utils/portage-utils-0.1.29.ebuild deleted file mode 100644 index 978da6961a68..000000000000 --- a/app-portage/portage-utils/portage-utils-0.1.29.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/portage-utils/portage-utils-0.1.29.ebuild,v 1.9 2008/10/25 22:37:53 vapier Exp $ - -inherit toolchain-funcs eutils - -DESCRIPTION="small and fast portage helper tools written in C" -HOMEPAGE="http://www.gentoo.org/" -SRC_URI="mirror://gentoo/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd" -IUSE="" - -DEPEND="" - -src_unpack() { - unpack ${A} - cd "${S}" -} - -src_compile() { - tc-export CC - emake || die -} - -src_install() { - dobin q || die "dobin failed" - doman man/*.[0-9] - for applet in $(<applet-list) ; do - dosym q /usr/bin/${applet} - done -} - -pkg_postinst() { - [ -e "${ROOT}"/etc/portage/bin/post_sync ] && return 0 - mkdir -p "${ROOT}"/etc/portage/bin/ - -cat <<__EOF__ > "${ROOT}"/etc/portage/bin/post_sync -#!/bin/sh -# Copyright 2006-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -if [ -d /etc/portage/postsync.d/ ]; then - for f in /etc/portage/postsync.d/* ; do - if [ -x \${f} ] ; then - \${f} - fi - done -else - : -fi -__EOF__ - chmod 755 "${ROOT}"/etc/portage/bin/post_sync - if [ ! -e "${ROOT}"/etc/portage/postsync.d/q-reinitialize ]; then - mkdir -p "${ROOT}"/etc/portage/postsync.d/ - echo '[ -x /usr/bin/q ] && /usr/bin/q -qr' > "${ROOT}"/etc/portage/postsync.d/q-reinitialize - elog "${ROOT}/etc/portage/postsync.d/q-reinitialize has been installed for convenience" - elog "If you wish for it to be automatically run at the end of every --sync simply chmod +x ${ROOT}/etc/portage/postsync.d/q-reinitialize" - elog "Normally this should only take a few seconds to run but file systems such as ext3 can take a lot longer." - elog "If ever you find this to be an inconvenience simply chmod -x ${ROOT}/etc/portage/postsync.d/q-reinitialize" - fi - : -} diff --git a/app-portage/portage-utils/portage-utils-0.2.ebuild b/app-portage/portage-utils/portage-utils-0.2.ebuild deleted file mode 100644 index ecbd0ef6c5e7..000000000000 --- a/app-portage/portage-utils/portage-utils-0.2.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/portage-utils/portage-utils-0.2.ebuild,v 1.5 2009/04/06 01:58:26 vapier Exp $ - -inherit toolchain-funcs eutils - -DESCRIPTION="small and fast portage helper tools written in C" -HOMEPAGE="http://www.gentoo.org/" -SRC_URI="mirror://gentoo/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" -IUSE="" - -src_unpack() { - unpack ${A} - cd "${S}" - sed -i -e 's:\[\[:[:' -e 's:\]\]:]:' Makefile -} - -src_compile() { - tc-export CC - emake || die -} - -src_install() { - emake install DESTDIR="${D}" || die -} - -pkg_postinst() { - [ -e "${ROOT}"/etc/portage/bin/post_sync ] && return 0 - mkdir -p "${ROOT}"/etc/portage/bin/ - -cat <<__EOF__ > "${ROOT}"/etc/portage/bin/post_sync -#!/bin/sh -# Copyright 2006-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -if [ -d /etc/portage/postsync.d/ ]; then - for f in /etc/portage/postsync.d/* ; do - if [ -x \${f} ] ; then - \${f} - fi - done -else - : -fi -__EOF__ - chmod 755 "${ROOT}"/etc/portage/bin/post_sync - if [ ! -e "${ROOT}"/etc/portage/postsync.d/q-reinitialize ]; then - mkdir -p "${ROOT}"/etc/portage/postsync.d/ - echo '[ -x /usr/bin/q ] && /usr/bin/q -qr' > "${ROOT}"/etc/portage/postsync.d/q-reinitialize - elog "${ROOT}/etc/portage/postsync.d/q-reinitialize has been installed for convenience" - elog "If you wish for it to be automatically run at the end of every --sync simply chmod +x ${ROOT}/etc/portage/postsync.d/q-reinitialize" - elog "Normally this should only take a few seconds to run but file systems such as ext3 can take a lot longer." - elog "If ever you find this to be an inconvenience simply chmod -x ${ROOT}/etc/portage/postsync.d/q-reinitialize" - fi - : -} |