diff options
Diffstat (limited to 'dev-util/tla/tla-1.3.3.ebuild')
-rw-r--r-- | dev-util/tla/tla-1.3.3.ebuild | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/dev-util/tla/tla-1.3.3.ebuild b/dev-util/tla/tla-1.3.3.ebuild new file mode 100644 index 000000000000..673f4221f468 --- /dev/null +++ b/dev-util/tla/tla-1.3.3.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/tla/tla-1.3.3.ebuild,v 1.1 2005/06/03 10:48:00 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="~x86 ~alpha ~ppc ~hppa ~sparc ~amd64" +IUSE="" + +DEPEND="sys-apps/coreutils + 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 ${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 =README + cd ${S}/.. + dodoc COPYING + dodoc ChangeLog + cd docs-tla + docinto ps + dodoc ps/*.ps + docinto html + dohtml -r html/ + cd ${WORKDIR} + doman tla.1 + + chmod 755 "${WORKDIR}/${P}/src/tla/=gpg-check.awk" + cp -a "${WORKDIR}/${P}/src/tla/=gpg-check.awk" "${D}/usr/bin/tla-gpg-check.awk" +} |