Contents of /smage/trunk/core/bison/bison-2.5-r1.smage2
Parent Directory | Revision Log
Revision 1762 -
(show annotations)
(download)
Mon Sep 19 10:47:32 2011 UTC (13 years ago) by niro
File size: 604 byte(s)
Mon Sep 19 10:47:32 2011 UTC (13 years ago) by niro
File size: 604 byte(s)
auto added: ver bump to 2.5-r1
1 | # $Id$ |
2 | |
3 | PNAME="bison" |
4 | PVER="2.5" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="sys-dev" |
8 | |
9 | DESCRIPTION="A yacc-compatible parser generator." |
10 | HOMEPAGE="http://www.gnu.org/software/bison/bison.html" |
11 | |
12 | DEPEND=">= sys-dev/m4-1.4 |
13 | >= sys-dev/gettext-0.18" |
14 | |
15 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
17 | |
18 | sminclude mbuild |
19 | |
20 | SRC_URI=( |
21 | http://ftp.gnu.org/pub/gnu/${PNAME}/${SRCFILE} |
22 | mirror://${PNAME}/${SRCFILE} |
23 | ) |
24 | |
25 | UP2DATE="updatecmd_gnu ${PNAME}" |
26 | |
27 | src_prepare() |
28 | { |
29 | # check for proper /dev/null |
30 | [[ ! -c ${MROOT}/dev/null ]] && die "/dev/null not found or no character device!" |
31 | |
32 | munpack ${SRCFILE} || die |
33 | } |