summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders Rune Jensen <arj@gentoo.org>2006-01-07 01:56:43 +0000
committerAnders Rune Jensen <arj@gentoo.org>2006-01-07 01:56:43 +0000
commit5b87a5dbf17c6f21573a53721a54a50b32133381 (patch)
tree44a7df78967a468680d6a931fe1d39902b02d39d /dev-util/tla/tla-1.3.4.ebuild
parentarm love (diff)
downloadgentoo-2-5b87a5dbf17c6f21573a53721a54a50b32133381.tar.gz
gentoo-2-5b87a5dbf17c6f21573a53721a54a50b32133381.tar.bz2
gentoo-2-5b87a5dbf17c6f21573a53721a54a50b32133381.zip
new version
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'dev-util/tla/tla-1.3.4.ebuild')
-rw-r--r--dev-util/tla/tla-1.3.4.ebuild68
1 files changed, 68 insertions, 0 deletions
diff --git a/dev-util/tla/tla-1.3.4.ebuild b/dev-util/tla/tla-1.3.4.ebuild
new file mode 100644
index 000000000000..0427d49906d5
--- /dev/null
+++ b/dev-util/tla/tla-1.3.4.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/tla/tla-1.3.4.ebuild,v 1.1 2006/01/07 01:56:43 arj Exp $
+
+S="${WORKDIR}/${P}/src/=build"
+DESCRIPTION="Revision control system ideal for widely distributed development"
+SRC_URI="mirror://gnu/gnu-arch/${P}.tar.gz
+ http://dev.gentoo.org/~arj/tla.1-2.gz"
+HOMEPAGE="http://savannah.gnu.org/projects/gnu-arch http://wiki.gnuarch.org/ http://arch.quackerhead.com/~lord/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc-macos ~sparc ~x86"
+IUSE="doc"
+
+DEPEND="sys-apps/coreutils
+ sys-apps/diffutils
+ sys-devel/patch
+ sys-apps/findutils
+ sys-apps/gawk
+ app-arch/tar
+ !ppc-macos? ( sys-apps/util-linux )
+ sys-apps/debianutils
+ sys-devel/make"
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ unpack tla.1-2.gz
+ mkdir "${S}"
+ cd "${WORKDIR}/${P}"
+ sed -i 's:/home/lord/{install}:/usr:g' "${WORKDIR}/${P}/src/tla/=gpg-check.awk"
+}
+
+src_compile() {
+ ../configure \
+ --prefix="/usr" \
+ --with-posix-shell="/bin/bash" || die "configure failed"
+ # parallel make may cause problems with this package
+ make || die "make failed"
+}
+
+src_install () {
+ make install prefix="${D}/usr" \
+ || die "make install failed"
+
+ cd ${S}/..
+ dodoc COPYING
+ dodoc ChangeLog
+
+ if use doc; then
+ cd docs-tla
+ docinto html
+ dohtml -r .
+
+ cd ../docs-hackerlab
+ docinto hackerlab/html
+ dohtml html/*
+ docinto hackerlab/ps
+ dodoc ps/*
+ fi
+
+ cd ${WORKDIR}
+ mv tla.1-2 tla.1
+ doman tla.1
+
+ chmod 755 "${WORKDIR}/${P}/src/tla/=gpg-check.awk"
+ cp -pPR "${WORKDIR}/${P}/src/tla/=gpg-check.awk" "${D}/usr/bin/tla-gpg-check.awk"
+}