summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Phillips <rphillips@gentoo.org>2003-10-05 03:04:58 +0000
committerRyan Phillips <rphillips@gentoo.org>2003-10-05 03:04:58 +0000
commitcebfdd3429afeb0b73c68090f585a747ab60189a (patch)
tree5af9fb41502b21df66c03c9efd2656d9294c937d /dev-util/larch
parentNew package (diff)
downloadhistorical-cebfdd3429afeb0b73c68090f585a747ab60189a.tar.gz
historical-cebfdd3429afeb0b73c68090f585a747ab60189a.tar.bz2
historical-cebfdd3429afeb0b73c68090f585a747ab60189a.zip
New package
Diffstat (limited to 'dev-util/larch')
-rw-r--r--dev-util/larch/Manifest5
-rw-r--r--dev-util/larch/files/digest-larch-1.0_pre01
-rw-r--r--dev-util/larch/larch-1.0_pre0.ebuild85
-rw-r--r--dev-util/larch/metadata.xml9
4 files changed, 98 insertions, 2 deletions
diff --git a/dev-util/larch/Manifest b/dev-util/larch/Manifest
index 61ee1c4ef68c..5fd53686c28b 100644
--- a/dev-util/larch/Manifest
+++ b/dev-util/larch/Manifest
@@ -1,3 +1,4 @@
-MD5 f72508616a16f6862195103742da2c28 larch-1.0_pre0.ebuild 2188
-MD5 33969434ba7f52f3b51283b56c73233d ChangeLog 390
+MD5 66c43e634885a390c060d959d94778df larch-1.0_pre0.ebuild 2290
+MD5 7fac5dc80334cb599d854f712eb29351 ChangeLog 392
+MD5 cd1a46cb7091ac6bf577e0ae4ddeba53 metadata.xml 254
MD5 4bda88071b0f7807563ce189db246de3 files/digest-larch-1.0_pre0 66
diff --git a/dev-util/larch/files/digest-larch-1.0_pre0 b/dev-util/larch/files/digest-larch-1.0_pre0
new file mode 100644
index 000000000000..0938f78e78d6
--- /dev/null
+++ b/dev-util/larch/files/digest-larch-1.0_pre0
@@ -0,0 +1 @@
+MD5 52ef476ae42b3ee1f95cf1d800206f2d larch-1.0pre0.tar.gz 3489558
diff --git a/dev-util/larch/larch-1.0_pre0.ebuild b/dev-util/larch/larch-1.0_pre0.ebuild
new file mode 100644
index 000000000000..971aa3758466
--- /dev/null
+++ b/dev-util/larch/larch-1.0_pre0.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/larch/larch-1.0_pre0.ebuild,v 1.1 2003/10/05 03:04:55 rphillips Exp $
+
+MY_P="${P//_/}"
+DESCRIPTION="revision control system ideal for widely distributed development (see \"tla\" also)"
+SRC_URI="http://regexps.srparish.net/src/larch/${MY_P}.tar.gz"
+HOMEPAGE="http://regexps.srparish.net/www/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~alpha ~ppc ~mips ~hppa ~sparc ~arm"
+
+S="${WORKDIR}/${MY_P}/src/=build"
+
+DEPEND="sys-apps/diffutils
+ sys-apps/coreutils
+ sys-apps/findutils
+ sys-apps/gawk
+ sys-apps/tar
+ sys-apps/util-linux
+ sys-apps/debianutils
+ sys-devel/make
+ sys-devel/patch
+ app-shells/ash"
+## hmm. "larch --help-commands" fails with dash -- so we use "ash"
+# app-shells/dash
+## => report bug to dash-people? Posix 1003.1-2001 filename-expansion with
+## wildcards fail: "*/foo"
+
+src_unpack() {
+ local t
+
+ unpack "${A}"
+ mkdir -p "${MY_P}/src/=build"
+
+ # patch arch to install its scripts in /usr/share/arch
+ # instead of /usr/libexec/arch (there is only shareables scripts).
+ t="${MY_P}/src/build-tools/Makefiles/rules.mk"
+
+ cp ${t} ${t}.orig
+ sed 's:/libexec:/share:g' ${t}.orig > ${t} || die "Patch failed for $t"
+
+ t="${MY_P}/src/build-tools/Makefiles/install-shell-subcommands.mk"
+ cp ${t} ${t}.orig
+ sed 's:/libexec:/share:g' ${t}.orig > ${t} || die "Patch failed for $t"
+}
+
+src_compile() {
+ ../configure \
+ --prefix="/usr" \
+ --with-posix-shell="/bin/ash" \
+ --with-sendmail="/usr/sbin/sendmail" || die "configure failed"
+
+ # parallel make may cause problems with this package
+ make || die "make failed"
+ make test || die "tests failed!"
+}
+
+src_install () {
+ local name
+
+ make install prefix="${D}/usr" \
+ || die "make install failed"
+
+ for name in ${D}/usr/share/arch/arch/*; do
+ name="`readlink ${name} | sed 's:^.*/usr/share/arch/::'`"
+ if [ "${name}" ]; then
+ ln -sf "../${name}" "${D}/usr/share/arch/arch/${name#*/}"
+ assert "Fixing symlink for ${name} failed"
+ fi
+ done
+
+ # get some docs
+ cd ${WORKDIR}/${MY_P}/src
+ dodoc COPYING
+ if [ $(use doc) ]; then
+ dohtml -r docs-larch
+ dodoc docs-larch/ps/arch.ps
+ fi
+}
+
+pkg_postinst() {
+ einfo "also have a look at the C-implementation of larch: \"tla\"."
+}
diff --git a/dev-util/larch/metadata.xml b/dev-util/larch/metadata.xml
new file mode 100644
index 000000000000..b0faeb1b192b
--- /dev/null
+++ b/dev-util/larch/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>rphillips@gentoo.org</email>
+ <name>Ryan Phillips</name>
+</maintainer>
+</pkgmetadata>