diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-09-06 14:34:38 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-09-06 14:34:38 +0000 |
commit | 7a64c8bff74a8005979cc4cf6b8a62ab8d11d45c (patch) | |
tree | c78345a321cccb9ae9ef19c0e04fafc4883d3c8e /sys-apps | |
parent | old (diff) | |
download | gentoo-2-7a64c8bff74a8005979cc4cf6b8a62ab8d11d45c.tar.gz gentoo-2-7a64c8bff74a8005979cc4cf6b8a62ab8d11d45c.tar.bz2 gentoo-2-7a64c8bff74a8005979cc4cf6b8a62ab8d11d45c.zip |
old
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/initng-ifiles/initng-ifiles-0.1.4.ebuild | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/sys-apps/initng-ifiles/initng-ifiles-0.1.4.ebuild b/sys-apps/initng-ifiles/initng-ifiles-0.1.4.ebuild deleted file mode 100644 index a15be045ee28..000000000000 --- a/sys-apps/initng-ifiles/initng-ifiles-0.1.4.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/initng-ifiles/initng-ifiles-0.1.4.ebuild,v 1.1 2007/08/25 17:57:30 vapier Exp $ - -DESCRIPTION="A next generation init replacement" -HOMEPAGE="http://initng.org/" -SRC_URI="http://download.initng.org/initng-ifiles/v${PV:0:3}/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" -IUSE="" - -RDEPEND="sys-apps/initng" -DEPEND="${RDEPEND} - >=dev-util/cmake-2.1" - -plugin_warning() { - if [[ -z ${INITNG_FILES} ]] ; then - einfo "If you want to customize the list of initng files, please" - einfo "set the INITNG_FILES variable in your make.conf." - fi -} - -pkg_setup() { - plugin_warning -} - -src_compile() { - local x default_opts valid_opts cmake_opts="" - valid_opts=$(sed -n '/^OPTION/ s:.*(\([[:alpha:]_]*\).*:\1:p' CMakeLists.txt) - default_opts=$(sed -n '/^OPTION(.*ON)$/ s:.*(\([[:alpha:]_]*\).*:\1:p' CMakeLists.txt) - INITNG_FILES=$(echo ${INITNG_FILES} | tr '[:lower:]' '[:upper:]') - INITNG_FILES=${INITNG_FILES:-${default_opts}} - for x in ${valid_opts} ; do - if hasq ${x} ${INITNG_FILES} || hasq ${x#INSTALL_} ${INITNG_FILES} ; then - cmake_opts="${cmake_opts} -D${x}=ON" - else - cmake_opts="${cmake_opts} -D${x}=OFF" - fi - done - cmake -DCMAKE_INSTALL_PREFIX=/ ${cmake_opts} || die - emake || die -} - -src_install() { - emake install DESTDIR="${D}" || die - dodoc AUTHORS ChangeLog README -} |