Magellan Linux

Contents of /branches/R11-stable/extras/expect/expect-5.45-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 15110 - (show annotations) (download)
Wed Jan 2 10:43:22 2013 UTC (11 years, 5 months ago) by niro
File size: 775 byte(s)
-release branches/R11-stable
1 # $Id$
2
3 PNAME="expect"
4 PVER="5.45"
5 PBUILD="r1"
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.5
13 >= dev-lang/tk-8.5"
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 }
45