Contents of /trunk/core/bc/bc-1.06-r7.smage2
Parent Directory | Revision Log
Revision 318 -
(show annotations)
(download)
Mon Dec 22 17:30:51 2008 UTC (15 years, 9 months ago) by niro
File size: 1285 byte(s)
Mon Dec 22 17:30:51 2008 UTC (15 years, 9 months ago) by niro
File size: 1285 byte(s)
-rev bump to 1.06-r7: rebuild against ncurses-5.7
1 | # $Header: /magellan-cvs/smage/bc/bc-1.06-r6.smage2,v 1.1 2008/02/12 08:01:51 niro Exp $ |
2 | |
3 | PNAME="bc" |
4 | PVER="1.06" |
5 | PBUILD="r7" |
6 | |
7 | PCATEGORIE="sys-dev" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="bc is an arbitrary precision numeric processing language." |
11 | HOMEPAGE="http://www.gnu.org/software/bc/" |
12 | |
13 | DEPEND=">= sys-libs/ncurses-5.7 |
14 | >= sys-libs/readline-5.2" |
15 | |
16 | SDEPEND=">= sys-dev/flex-2.5.4" |
17 | |
18 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
19 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
20 | |
21 | sminclude mtools |
22 | |
23 | SRC_URI=( |
24 | gnu://${PNAME}/${SRCFILE} |
25 | mirror://${PNAME}/${SRCFILE} |
26 | mirror://${PNAME}/${PNAME}-${PVER}-info-fix.diff |
27 | mirror://${PNAME}/${PNAME}-${PVER}-readline42.diff |
28 | ) |
29 | |
30 | UP2DATE="updatecmd_gnu ${PNAME} gz" |
31 | |
32 | src_prepare() |
33 | { |
34 | munpack ${SRCFILE} || die |
35 | cd ${SRCDIR} |
36 | |
37 | # fix info pages |
38 | mpatch ${PNAME}-${PVER}-info-fix.diff || die |
39 | |
40 | # allows build with readline-4.2 |
41 | mpatch ${PNAME}-${PVER}-readline42.diff || die |
42 | |
43 | # fix build with newer flex |
44 | sed -i 's:flex -I8:flex -I:g' configure || die |
45 | } |
46 | |
47 | src_compile() |
48 | { |
49 | cd ${SRCDIR} |
50 | |
51 | mconfigure --with-readline || die |
52 | mmake || die |
53 | } |
54 | |
55 | src_install() |
56 | { |
57 | cd ${SRCDIR} |
58 | |
59 | # bins |
60 | minstallexec bc/bc || die |
61 | minstallexec dc/dc || die |
62 | |
63 | # infos pages |
64 | minstallinfo doc/*.info || die |
65 | |
66 | # man pages |
67 | minstallman doc/*.1 || die |
68 | |
69 | # docs |
70 | minstalldocs AUTHORS FAQ NEWS README ChangeLog |
71 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |