summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/yacc/yacc-1.9.1-r4.ebuild')
-rw-r--r--dev-util/yacc/yacc-1.9.1-r4.ebuild50
1 files changed, 0 insertions, 50 deletions
diff --git a/dev-util/yacc/yacc-1.9.1-r4.ebuild b/dev-util/yacc/yacc-1.9.1-r4.ebuild
deleted file mode 100644
index 2a3cb8b..0000000
--- a/dev-util/yacc/yacc-1.9.1-r4.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/yacc/yacc-1.9.1-r3.ebuild,v 1.2 2007/06/26 02:06:19 mr_bones_ Exp $
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="Yacc: Yet Another Compiler-Compiler"
-HOMEPAGE="http://dinosaur.compilertools.net/#yacc"
-SRC_URI="ftp://metalab.unc.edu/pub/Linux/devel/compiler-tools/${P}.tar.Z"
-
-LICENSE="as-is"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="app-admin/eselect-yacc"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- # Use our CFLAGS
- sed -i -e 's: -O : $(CFLAGS) :' Makefile || die 'sed failed'
-
- # mkstemp patch from byacc ebuild
- epatch "${FILESDIR}"/mkstemp.patch
-
- # The following patch fixes yacc to run correctly on ia64 (and
- # other 64-bit arches). See bug 46233
- epatch "${FILESDIR}"/yacc-1.9.1-ia64.patch
-}
-
-src_compile() {
- make clean || die
- emake -j1 CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die
-}
-
-src_install() {
- newbin yacc yacc.yacc || die
- doman yacc.1
- dodoc 00README* ACKNOWLEDGEMENTS NEW_FEATURES NO_WARRANTY NOTES README*
-}
-
-pkg_postinst() {
- "${ROOT}"/usr/bin/eselect yacc update
-}
-
-pkg_postrm() {
- "${ROOT}"/usr/bin/eselect yacc update
-}