summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-apps/rlocate/ChangeLog7
-rw-r--r--sys-apps/rlocate/files/digest-rlocate-0.3.11
-rw-r--r--sys-apps/rlocate/rlocate-0.3.1.ebuild47
3 files changed, 54 insertions, 1 deletions
diff --git a/sys-apps/rlocate/ChangeLog b/sys-apps/rlocate/ChangeLog
index 26f45a9e2a8d..ddad75d38b58 100644
--- a/sys-apps/rlocate/ChangeLog
+++ b/sys-apps/rlocate/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/rlocate
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/rlocate/ChangeLog,v 1.1 2005/05/27 22:56:33 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/rlocate/ChangeLog,v 1.2 2005/07/09 22:39:53 vapier Exp $
+
+*rlocate-0.3.1 (09 Jul 2005)
+
+ 09 Jul 2005; Mike Frysinger <vapier@gentoo.org> +rlocate-0.3.1.ebuild:
+ Version bump #97055 by Daniel Webert.
*rlocate-0.3.0 (27 May 2005)
diff --git a/sys-apps/rlocate/files/digest-rlocate-0.3.1 b/sys-apps/rlocate/files/digest-rlocate-0.3.1
new file mode 100644
index 000000000000..42f85205aff1
--- /dev/null
+++ b/sys-apps/rlocate/files/digest-rlocate-0.3.1
@@ -0,0 +1 @@
+MD5 d65e350fe83480cc1db40912a0dfa87b rlocate-0.3.1.tar.gz 190793
diff --git a/sys-apps/rlocate/rlocate-0.3.1.ebuild b/sys-apps/rlocate/rlocate-0.3.1.ebuild
new file mode 100644
index 000000000000..0899b2453ce0
--- /dev/null
+++ b/sys-apps/rlocate/rlocate-0.3.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/rlocate/rlocate-0.3.1.ebuild,v 1.1 2005/07/09 22:39:53 vapier Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="locate implementation that is always up-to-date"
+HOMEPAGE="http://rlocate.sourceforge.net/"
+SRC_URI="mirror://sourceforge/rlocate/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="virtual/kernel"
+RDEPEND="!sys-apps/slocate"
+
+pkg_setup() {
+ enewgroup locate
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e '/^RLOCATE_GRP/s:=.*:=locate:' \
+ Makefile.in || die "sed group"
+ rm -f rlocate-scripts/Makefile
+ sed -i \
+ -e '/groupadd/d' \
+ -e '/chown/s/root:$(rlocate)/root:locate/g' \
+ Makefile.in rlocate-scripts/Makefile.in
+ sed -i \
+ -e '/DRLOCATE_GRP/s:$(rlocate):locate:' \
+ rlocate-daemon/Makefile.in
+}
+
+src_compile() {
+ econf --enable-sandboxed || die
+ ARCH=$(tc-arch-kernel) emake || die
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die
+ dodoc AUTHORS ChangeLog* NEWS README
+}