diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-06-17 21:32:17 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-06-17 21:32:17 +0000 |
commit | ea1b77646e25b238cacc00553432bb24af3177c4 (patch) | |
tree | 7dfa1db21e135250d0c542d6ba9ae49c0e99ea32 /sys-apps/initng-ifiles | |
parent | Marked stable on ia64. (diff) | |
download | gentoo-2-ea1b77646e25b238cacc00553432bb24af3177c4.tar.gz gentoo-2-ea1b77646e25b238cacc00553432bb24af3177c4.tar.bz2 gentoo-2-ea1b77646e25b238cacc00553432bb24af3177c4.zip |
Initial import. Ebuild submitted by Thomas Kear by #136501.
(Portage version: 2.1)
Diffstat (limited to 'sys-apps/initng-ifiles')
-rw-r--r-- | sys-apps/initng-ifiles/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/initng-ifiles/Manifest | 16 | ||||
-rw-r--r-- | sys-apps/initng-ifiles/files/digest-initng-ifiles-0.0.5 | 3 | ||||
-rw-r--r-- | sys-apps/initng-ifiles/initng-ifiles-0.0.5.ebuild | 49 | ||||
-rw-r--r-- | sys-apps/initng-ifiles/metadata.xml | 5 |
5 files changed, 81 insertions, 0 deletions
diff --git a/sys-apps/initng-ifiles/ChangeLog b/sys-apps/initng-ifiles/ChangeLog new file mode 100644 index 000000000000..83cdcadeed1f --- /dev/null +++ b/sys-apps/initng-ifiles/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for sys-apps/initng-ifiles +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/initng-ifiles/ChangeLog,v 1.1 2006/06/17 21:32:17 vapier Exp $ + +*initng-ifiles-0.0.5 (17 Jun 2006) + + 17 Jun 2006; Mike Frysinger <vapier@gentoo.org> : + Initial import. Ebuild submitted by Thomas Kear by #136501. diff --git a/sys-apps/initng-ifiles/Manifest b/sys-apps/initng-ifiles/Manifest new file mode 100644 index 000000000000..52602faf228a --- /dev/null +++ b/sys-apps/initng-ifiles/Manifest @@ -0,0 +1,16 @@ +DIST initng-ifiles-0.0.5.tar.bz2 86857 RMD160 27b97a161dca416d317b38b279c5d7a7381d6be2 SHA1 f9811e829e1feca8b496289e5063ea38cbbbb00c SHA256 8db162e4020d8035b1095df076b37284739fe569b9e822bf6eba2b7de6703f58 +EBUILD initng-ifiles-0.0.5.ebuild 1380 RMD160 aa51198e05de55d3ddf5e10b208cb406e27ef0b0 SHA1 5b1ac3456712537c3155b9124efa41d5efc41b18 SHA256 efe512ee5c45dd41af026896227e7a2faa783221b784403c12954d64addd2173 +MD5 0f6d770e8ab178d34b551eea364b381b initng-ifiles-0.0.5.ebuild 1380 +RMD160 aa51198e05de55d3ddf5e10b208cb406e27ef0b0 initng-ifiles-0.0.5.ebuild 1380 +SHA256 efe512ee5c45dd41af026896227e7a2faa783221b784403c12954d64addd2173 initng-ifiles-0.0.5.ebuild 1380 +MISC ChangeLog 274 RMD160 b559cdbd893f2fd3a14ad528a42a974747c63c86 SHA1 60b8fec1dd0ae70b314fd84344c65a5ca84f7a53 SHA256 1d05df931991058ba48dc242fc069d5a892f8d0e6f136c0e029e2f2f914b62ea +MD5 9408a6d47679c6497e00b9bae78dbf42 ChangeLog 274 +RMD160 b559cdbd893f2fd3a14ad528a42a974747c63c86 ChangeLog 274 +SHA256 1d05df931991058ba48dc242fc069d5a892f8d0e6f136c0e029e2f2f914b62ea ChangeLog 274 +MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 +MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 +RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 metadata.xml 164 +SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 metadata.xml 164 +MD5 20b188128b353bb6f944a248f790f621 files/digest-initng-ifiles-0.0.5 259 +RMD160 91a1a7f5c0fdb0ee882453a3cd5be4ef4c0bbc14 files/digest-initng-ifiles-0.0.5 259 +SHA256 2fbd8380cde4ee5e171369aab7d5211653707b523540ccd5e633bbe0e9cb856f files/digest-initng-ifiles-0.0.5 259 diff --git a/sys-apps/initng-ifiles/files/digest-initng-ifiles-0.0.5 b/sys-apps/initng-ifiles/files/digest-initng-ifiles-0.0.5 new file mode 100644 index 000000000000..7d82f3da013b --- /dev/null +++ b/sys-apps/initng-ifiles/files/digest-initng-ifiles-0.0.5 @@ -0,0 +1,3 @@ +MD5 bc22745d52396106d28feebcc171632d initng-ifiles-0.0.5.tar.bz2 86857 +RMD160 27b97a161dca416d317b38b279c5d7a7381d6be2 initng-ifiles-0.0.5.tar.bz2 86857 +SHA256 8db162e4020d8035b1095df076b37284739fe569b9e822bf6eba2b7de6703f58 initng-ifiles-0.0.5.tar.bz2 86857 diff --git a/sys-apps/initng-ifiles/initng-ifiles-0.0.5.ebuild b/sys-apps/initng-ifiles/initng-ifiles-0.0.5.ebuild new file mode 100644 index 000000000000..677c8142b21d --- /dev/null +++ b/sys-apps/initng-ifiles/initng-ifiles-0.0.5.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2006 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.0.5.ebuild,v 1.1 2006/06/17 21:32:17 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 +} diff --git a/sys-apps/initng-ifiles/metadata.xml b/sys-apps/initng-ifiles/metadata.xml new file mode 100644 index 000000000000..96a2d586367d --- /dev/null +++ b/sys-apps/initng-ifiles/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>base-system</herd> +</pkgmetadata> |