diff options
author | Karl Trygve Kalleberg <karltk@gentoo.org> | 2002-11-25 22:58:40 +0000 |
---|---|---|
committer | Karl Trygve Kalleberg <karltk@gentoo.org> | 2002-11-25 22:58:40 +0000 |
commit | 9e323eb2e2f36deedda9d3c5f670826acc4cb861 (patch) | |
tree | 214b279990a05c5b0cb5ca31f533ea30c4260b20 /dev-util/arch-landry | |
parent | Minor update to commonbox.eclass (diff) | |
download | gentoo-2-9e323eb2e2f36deedda9d3c5f670826acc4cb861.tar.gz gentoo-2-9e323eb2e2f36deedda9d3c5f670826acc4cb861.tar.bz2 gentoo-2-9e323eb2e2f36deedda9d3c5f670826acc4cb861.zip |
Fixes #10647.
Diffstat (limited to 'dev-util/arch-landry')
-rw-r--r-- | dev-util/arch-landry/ChangeLog | 10 | ||||
-rw-r--r-- | dev-util/arch-landry/arch-landry-1.0_pre10.ebuild | 77 | ||||
-rw-r--r-- | dev-util/arch-landry/files/digest-arch-landry-1.0_pre10 | 1 |
3 files changed, 88 insertions, 0 deletions
diff --git a/dev-util/arch-landry/ChangeLog b/dev-util/arch-landry/ChangeLog new file mode 100644 index 000000000000..7eeea9e148d1 --- /dev/null +++ b/dev-util/arch-landry/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-util/arch-landry +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/arch-landry/ChangeLog,v 1.1 2002/11/25 22:58:40 karltk Exp $ + +*arch-landry-1.0_pre10 (25 Nov 2002) + + 25 Nov 2002; Karl Trygve Kalleberg <karltk@gentoo.org> arch-landry-1.0_pre10.ebuild files/digest-arch-landry-1.0_pre10 : + Initial import. Ebuild submitted by Clemens Oertel + <gentoo-bugzilla@kriegste.net>. Fixes #10647. + diff --git a/dev-util/arch-landry/arch-landry-1.0_pre10.ebuild b/dev-util/arch-landry/arch-landry-1.0_pre10.ebuild new file mode 100644 index 000000000000..b5d67a958139 --- /dev/null +++ b/dev-util/arch-landry/arch-landry-1.0_pre10.ebuild @@ -0,0 +1,77 @@ +# Copyright 2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/arch-landry/arch-landry-1.0_pre10.ebuild,v 1.1 2002/11/25 22:58:40 karltk Exp $ + +MY_P="${P//_/}" +S="${WORKDIR}/${MY_P}/src/=build" +DESCRIPTION="RCS with advanced features, including Walter Landry's patches, based on based on arch-1.0pre16" +SRC_URI="http://superbeast.ucsd.edu/~landry/larch/arch-landry-1.0pre10.tar.gz" +HOMEPAGE="http://www.fifthvision.net/open/bin/view/Arch/WebHome" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86" +IUSE="" + +RDEPEND=">=sys-apps/diffutils-2.0 + >=sys-apps/fileutils-4.0 + >=sys-apps/findutils-4.0 + >=sys-apps/gawk-3.0 + >=sys-apps/sh-utils-2.0 + >=sys-apps/tar-1.0 + >=sys-apps/textutils-2.0 + >=sys-apps/util-linux-2.0 + >=sys-apps/debianutils-1.10 + >=sys-devel/patch-2.5" +DEPEND="$RDEPEND + >=sys-devel/make-3.0" + +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" +} + +src_compile() { + ../configure \ + --prefix="/usr" \ + --with-posix-shell="/bin/bash" \ + --with-sendmail="/usr/sbin/sendmail" || die "configure failed" + + # parallel make may cause problems with this package + make || die "make 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} + dodoc =NEWS =README COPYING + dodoc docs/arch.pdf + dodoc -r docs/examples + dohtml -r docs/html +} + +pkg_postinst() { + einfo "Tom Lord's/Walter Landry's 'arch' command has been renamed" + einfo " upstream to 'larch' to stop collision with 'arch' command." +} diff --git a/dev-util/arch-landry/files/digest-arch-landry-1.0_pre10 b/dev-util/arch-landry/files/digest-arch-landry-1.0_pre10 new file mode 100644 index 000000000000..08ce3d70cf5e --- /dev/null +++ b/dev-util/arch-landry/files/digest-arch-landry-1.0_pre10 @@ -0,0 +1 @@ +MD5 a35ed6d4f58a655c0beeb1ce93322cea arch-landry-1.0pre10.tar.gz 3303377 |