diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2003-10-18 06:12:43 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2003-10-18 06:12:43 +0000 |
commit | 884a7fa52fab1fd1616f5d1c084667d0fd7ffdb7 (patch) | |
tree | e17101e48f73e6e691b02e728ac44856b428ae04 /app-admin/verynice | |
parent | initial commit (bug 27077) (diff) | |
download | gentoo-2-884a7fa52fab1fd1616f5d1c084667d0fd7ffdb7.tar.gz gentoo-2-884a7fa52fab1fd1616f5d1c084667d0fd7ffdb7.tar.bz2 gentoo-2-884a7fa52fab1fd1616f5d1c084667d0fd7ffdb7.zip |
initial commit (bug 27077)
Diffstat (limited to 'app-admin/verynice')
-rw-r--r-- | app-admin/verynice/ChangeLog | 10 | ||||
-rw-r--r-- | app-admin/verynice/Manifest | 5 | ||||
-rw-r--r-- | app-admin/verynice/files/digest-verynice-1.1 | 1 | ||||
-rw-r--r-- | app-admin/verynice/files/verynice | 16 | ||||
-rw-r--r-- | app-admin/verynice/verynice-1.1.ebuild | 36 |
5 files changed, 66 insertions, 2 deletions
diff --git a/app-admin/verynice/ChangeLog b/app-admin/verynice/ChangeLog new file mode 100644 index 000000000000..36873ce18e72 --- /dev/null +++ b/app-admin/verynice/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-admin/verynice +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/verynice/ChangeLog,v 1.1 2003/10/18 06:12:36 mr_bones_ Exp $ + +*verynice-1.1 (17 Oct 2003) + + 17 Oct 2003; Michael Sterrett <mr_bones_@gentoo.org> verynice-1.1.ebuild, + files/verynice: + initial commit; very clean starting ebuild from Amiel Martin via bug 27077 + diff --git a/app-admin/verynice/Manifest b/app-admin/verynice/Manifest index b85620c9e4d8..44987c890cd8 100644 --- a/app-admin/verynice/Manifest +++ b/app-admin/verynice/Manifest @@ -1,3 +1,4 @@ -MD5 e9f0469e99f5f5c0121b8e539beaac67 verynice-1.1.ebuild 582 -MD5 89b2105216dc693bffffec3ca71a044b files/verynice 356 +MD5 a396032abad2a3e794514e5e0f4c2530 verynice-1.1.ebuild 1291 +MD5 5804d0139eaed21204e8970ccd49e685 ChangeLog 422 +MD5 870d59281a3e8351acee20484e6889bd files/verynice 455 MD5 1e2909678a8e60cf88cac61906c66a63 files/digest-verynice-1.1 63 diff --git a/app-admin/verynice/files/digest-verynice-1.1 b/app-admin/verynice/files/digest-verynice-1.1 new file mode 100644 index 000000000000..9c435087e2f7 --- /dev/null +++ b/app-admin/verynice/files/digest-verynice-1.1 @@ -0,0 +1 @@ +MD5 fb00b79779a30df2c03916181c873545 verynice-1.1.tar.gz 37576 diff --git a/app-admin/verynice/files/verynice b/app-admin/verynice/files/verynice new file mode 100644 index 000000000000..9722efeba375 --- /dev/null +++ b/app-admin/verynice/files/verynice @@ -0,0 +1,16 @@ +#!/sbin/runscript +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/verynice/files/verynice,v 1.1 2003/10/18 06:12:36 mr_bones_ Exp $ + +start() { + ebegin "Starting verynice" + /usr/sbin/verynice -d /var/run/verynice.pid + eend $? +} + +stop() { + ebegin "Stopping verynice" + start-stop-daemon --stop --quiet --pidfile=/var/run/verynice.pid + eend $? +} diff --git a/app-admin/verynice/verynice-1.1.ebuild b/app-admin/verynice/verynice-1.1.ebuild new file mode 100644 index 000000000000..1b4cd9478a40 --- /dev/null +++ b/app-admin/verynice/verynice-1.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/verynice/verynice-1.1.ebuild,v 1.1 2003/10/18 06:12:36 mr_bones_ Exp $ + +S=${WORKDIR}/${PN} +DESCRIPTION="A tool for dynamically adjusting the nice-level of processes" +HOMEPAGE="http://www.tam.cornell.edu/~sdh4/verynice/" +SRC_URI="http://www.tam.cornell.edu/~sdh4/verynice/down/${P}.tar.gz" + +KEYWORDS="x86" +LICENSE="GPL-2" +SLOT="0" + +src_compile() { + emake RPM_BUILD_ROOT=${D} PREFIX=/usr || die "emake failed" +} + +src_install(){ + # the install looks for this directory. + dodir /etc/init.d || die "dodir failed" + + einstall RPM_BUILD_ROOT=${D} PREFIX=/usr || die + + # odd, the config file is installed +x + fperms a-x /etc/verynice.conf || die "fperms failed" + + # make the doc install Gentooish + mv ${D}/usr/share/doc/${P}/* ${T} || die "mv failed" + dodoc ${T}/{CHANGELOG,README*} || die "dodoc failed" + dohtml ${T}/* || die "dohtml failed" + # html references the COPYING file. + cp ${T}/COPYING ${D}/usr/share/doc/${P}/html || die "cp failed" + + exeinto /etc/init.d + doexe ${FILESDIR}/verynice || die "doexe failed" +} |