# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-util/tla/tla-1.2-r2.ebuild,v 1.5 2004/09/01 23:46:49 arj Exp $ inherit eutils MY_P="${P/_/}" S="${WORKDIR}/${MY_P}/src/=build" DESCRIPTION="Revision control system ideal for widely distributed development" HOMEPAGE="http://arch.quackerhead.com/~lord/" NEON_PATCH="mirror://gentoo/tla-1.2-4.diff.gz http://dev.gentoo.org/~arj/files/tla-1.2-4.diff.gz" SRC_URI="http://arch.quackerhead.com/~lord/releases/tla/${MY_P}.tar.gz ${NEON_PATCH}" SLOT="0" LICENSE="GPL-2" KEYWORDS="x86 alpha ppc hppa sparc ~amd64" IUSE="" DEPEND="sys-apps/coreutils >=net-misc/neon-0.24.6 sys-apps/diffutils sys-devel/patch sys-apps/findutils sys-apps/gawk app-arch/tar sys-apps/util-linux sys-apps/debianutils sys-devel/make" src_unpack() { unpack ${A} mkdir "${MY_P}/src/=build" # rphillips 2004-06-01 # patch to build tla with the external libneon epatch "${WORKDIR}/tla-1.2-4.diff" } src_compile() { sed -i 's:/home/lord/{install}:/usr:g' "${WORKDIR}/${MY_P}/src/tla/=gpg-check.awk" ../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 ${WORKDIR}/${MY_P}/src dodoc COPYING cd docs-tla dodoc =README docinto ps dodoc ps/*.ps docinto html dohtml -r html/ chmod 755 "${WORKDIR}/${MY_P}/src/tla/=gpg-check.awk" cp -a "${WORKDIR}/${MY_P}/src/tla/=gpg-check.awk" "${D}/usr/bin/tla-gpg-check.awk" }