diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-06-11 19:05:11 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-06-11 19:05:11 +0000 |
commit | 1c6e387b1b38117bcfd50ba84afd78f367d82e76 (patch) | |
tree | 72d7c892412bc0e2c66c5e1ab83482b24576ea12 /sys-apps/initng | |
parent | arm/hppa/ppc64/s390/sh love (diff) | |
download | gentoo-2-1c6e387b1b38117bcfd50ba84afd78f367d82e76.tar.gz gentoo-2-1c6e387b1b38117bcfd50ba84afd78f367d82e76.tar.bz2 gentoo-2-1c6e387b1b38117bcfd50ba84afd78f367d82e76.zip |
Version bump #135904 by Thomas Kear.
(Portage version: 2.1)
Diffstat (limited to 'sys-apps/initng')
-rw-r--r-- | sys-apps/initng/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/initng/files/digest-initng-0.6.7 | 3 | ||||
-rw-r--r-- | sys-apps/initng/files/digest-initng-9999 | 1 | ||||
-rw-r--r-- | sys-apps/initng/initng-0.6.7.ebuild | 58 |
4 files changed, 68 insertions, 1 deletions
diff --git a/sys-apps/initng/ChangeLog b/sys-apps/initng/ChangeLog index d6aa60478ad8..ede0c74f0ebe 100644 --- a/sys-apps/initng/ChangeLog +++ b/sys-apps/initng/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/initng # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/initng/ChangeLog,v 1.37 2006/03/31 05:53:53 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/initng/ChangeLog,v 1.38 2006/06/11 19:05:11 vapier Exp $ + +*initng-0.6.7 (11 Jun 2006) + + 11 Jun 2006; Mike Frysinger <vapier@gentoo.org> +initng-0.6.7.ebuild: + Version bump #135904 by Thomas Kear. *initng-0.6.0 (31 Mar 2006) diff --git a/sys-apps/initng/files/digest-initng-0.6.7 b/sys-apps/initng/files/digest-initng-0.6.7 new file mode 100644 index 000000000000..a3b60b28c7e5 --- /dev/null +++ b/sys-apps/initng/files/digest-initng-0.6.7 @@ -0,0 +1,3 @@ +MD5 8d13fe887623762599a55c4e9640c010 initng-0.6.7.tar.bz2 366277 +RMD160 4945faae124ceca2450ac5e33ffbbcbae7e3dc72 initng-0.6.7.tar.bz2 366277 +SHA256 9e6dbf8a9163d428cad828e704b05af0c6a204cc91ddeaad8e9180d6cf0aca09 initng-0.6.7.tar.bz2 366277 diff --git a/sys-apps/initng/files/digest-initng-9999 b/sys-apps/initng/files/digest-initng-9999 index e69de29bb2d1..8b137891791f 100644 --- a/sys-apps/initng/files/digest-initng-9999 +++ b/sys-apps/initng/files/digest-initng-9999 @@ -0,0 +1 @@ + diff --git a/sys-apps/initng/initng-0.6.7.ebuild b/sys-apps/initng/initng-0.6.7.ebuild new file mode 100644 index 000000000000..55436130ae8c --- /dev/null +++ b/sys-apps/initng/initng-0.6.7.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/initng/initng-0.6.7.ebuild,v 1.1 2006/06/11 19:05:11 vapier Exp $ + +DESCRIPTION="A next generation init replacement" +HOMEPAGE="http://initng.org/" +SRC_URI="http://download.initng.org/initng/v${PV:0:3}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +RDEPEND="" +DEPEND="${RDEPEND} + >=dev-util/cmake-2.1" + +plugin_warning() { + if [[ -z ${INITNG_PLUGINS} ]] ; then + einfo "If you want to customize the list of initng plugins, please" + einfo "set the INITNG_PLUGINS variable in your make.conf." + einfo "See http://www.initng.org/wiki/Documents_Plugins for a list of" + einfo "valid plugins for you to choose from." + 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_PLUGINS=$(echo ${INITNG_PLUGINS} | tr '[:lower:]' '[:upper:]') + INITNG_PLUGINS=${INITNG_PLUGINS:-${default_opts}} + for x in ${valid_opts} ; do + if hasq ${x} ${INITNG_PLUGINS} || hasq ${x#BUILD_} ${INITNG_PLUGINS} ; 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 + find "${D}" -name '*.a' -exec rm "{}" \; + dodoc AUTHORS ChangeLog NEWS README TODO +} + +pkg_postinst() { + plugin_warning + einfo "Remember to add init=/sbin/initng in your grub or lilo config" + einfo " in order to use initng. Happy testing!" +} |