Contents of /trunk/extras/expect/expect-5.45-r2.smage2
Parent Directory | Revision Log
Revision 16159 -
(show annotations)
(download)
Fri Jan 25 13:30:30 2013 UTC (11 years, 8 months ago) by niro
File size: 774 byte(s)
Fri Jan 25 13:30:30 2013 UTC (11 years, 8 months ago) by niro
File size: 774 byte(s)
-rebuild against tcl/tk-8.6
1 | # $Id$ |
2 | |
3 | PNAME="expect" |
4 | PVER="5.45" |
5 | PBUILD="r2" |
6 | |
7 | PCAT="dev-util" |
8 | |
9 | DESCRIPTION="A tool for automating interactive applications." |
10 | HOMEPAGE="http://expect.nist.gov/" |
11 | |
12 | DEPEND=">= dev-lang/tcl-8.6 |
13 | >= dev-lang/tk-8.6" |
14 | |
15 | SDEPEND=">= sys-dev/autoconf-5" |
16 | |
17 | SRCFILE="${PNAME}${PVER}.tar.gz" |
18 | SRCDIR="${BUILDDIR}/${PNAME}${PVER}" |
19 | |
20 | sminclude mtools mbuild |
21 | msetfeature "!check" |
22 | |
23 | SRC_URI=( |
24 | sourceforge://${PNAME}/${SRCFILE} |
25 | mirror://${PNAME}/${SRCFILE} |
26 | ) |
27 | |
28 | UP2DATE="updatecmd ${HOMEPAGE}/src | grep ${PNAME}- | lasttarball gz" |
29 | |
30 | src_compile() |
31 | { |
32 | cd ${SRCDIR} |
33 | |
34 | local ver=$(grep TCL_VER /usr/include/tcl.h | sed 's/^.*"\(.*\)".*/\1/') |
35 | |
36 | mconfigure \ |
37 | --enable-shared \ |
38 | --with-tcl=/usr/$(mlibdir) \ |
39 | --with-tclinclude=/usr/include \ |
40 | --with-tk=/usr/$(mlibdir) \ |
41 | || die |
42 | |
43 | mmake || die |
44 | } |