1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 S="${WORKDIR}/${P}/src/=build"
6 DESCRIPTION="Revision control system ideal for widely distributed development"
7 HOMEPAGE="http://savannah.gnu.org/projects/gnu-arch http://wiki.gnuarch.org/ http://arch.quackerhead.com/~lord/"
8 SRC_URI="http://ftp.gnu.org/gnu/gnu-arch/${P}.tar.gz
9 http://dev.gentooexperimental.org/~dreeevil/tla.1-2.gz"
13 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~sh ~sparc ~x86"
16 DEPEND="sys-apps/coreutils
31 sed -i 's:/home/lord/{install}:/usr:g' "${WORKDIR}/${P}/src/tla/=gpg-check.awk"
35 OPTIONS="--prefix=/usr --with-posix-shell=/bin/bash "
39 ../configure ${OPTIONS} --with cc="$CC $CFLAGS" || die "configure failed"
41 ../configure ${OPTIONS} || die "configure failed"
43 # parallel make may cause problems with this package
44 make || die "make failed"
48 make install prefix="${D}/usr" || die "make install failed"
59 docinto hackerlab/html
69 chmod 755 "${WORKDIR}/${P}/src/tla/=gpg-check.awk"
70 cp -pPR "${WORKDIR}/${P}/src/tla/=gpg-check.awk" "${D}/usr/bin/tla-gpg-check.awk"