summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/rmake/rmake-1.0.1.ebuild')
-rw-r--r--app-admin/rmake/rmake-1.0.1.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/app-admin/rmake/rmake-1.0.1.ebuild b/app-admin/rmake/rmake-1.0.1.ebuild
new file mode 100644
index 000000000000..5cda4872567e
--- /dev/null
+++ b/app-admin/rmake/rmake-1.0.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2006-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/rmake/rmake-1.0.1.ebuild,v 1.1 2006/11/02 14:14:22 smithj Exp $
+
+inherit eutils
+
+DESCRIPTION="repository-based build system"
+HOMEPAGE="http://wiki.rpath.com/wiki/Conary:About_rMake"
+SRC_URI="ftp://download.rpath.com/${PN}/${P}.tar.bz2"
+
+LICENSE="CPL-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="=dev-lang/python-2.4*
+ sys-libs/libcap
+ app-admin/conary"
+
+src_compile() {
+ emake || die "Make failure"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die "install failed"
+ chmod 04755 ${D}/usr/libexec/rmake/chroothelper
+ for x in ${D}/var/{rmake,{log,lib,run}/rmake} ${D}/{etc,srv}/rmake;do
+ mkdir -p $x
+ chown rmake:rmake $x
+ touch ${x}/.keep
+ done
+ chmod 700 ${D}/var/rmake
+ # replace with updstream-provided in next release... see
+ # https://issues.rpath.com/browse/RMK-242
+ doinitd ${FILESDIR}/rmake
+}
+
+pkg_setup() {
+ enewgroup rmake
+ enewgroup rmake-chroot
+ enewuser rmake -1 -1 /srv/rmake "rmake"
+ enewuser rmake-chroot -1 -1 / "rmake-chroot"
+}