Magellan Linux

Contents of /smage/branches/alx-0_6_0/core/bison/bison-2.4.3-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2506 - (show annotations) (download)
Thu Jun 30 13:55:15 2011 UTC (12 years, 11 months ago) by niro
File size: 696 byte(s)
-removed STATE variable from smage files, use global distribution file for package/distribution states
1 # $Id: bison-2.4.1-r2.smage2 96 2010-01-06 12:00:27Z niro $
2
3 PNAME="bison"
4 PVER="2.4.3"
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 REMOVE_DEPRECATED_MAGE_TARGETS=1
19 sminclude mbuild alx
20
21 SRC_URI=(
22 http://ftp.gnu.org/pub/gnu/${PNAME}/${SRCFILE}
23 mirror://${PNAME}/${SRCFILE}
24 )
25
26 UP2DATE="updatecmd_gnu ${PNAME}"
27
28 src_prepare()
29 {
30 # check for proper /dev/null
31 [[ ! -c ${MROOT}/dev/null ]] && die "/dev/null not found or no character device!"
32
33 munpack ${SRCFILE} || die
34 }