Magellan Linux

Contents of /trunk/extras/expect/expect-5.45.3-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 30444 - (show annotations) (download)
Mon Jan 22 13:40:53 2018 UTC (6 years, 3 months ago) by niro
File size: 985 byte(s)
auto added: ver bump to 5.45.3-r1
1 # $Id$
2
3 PNAME="expect"
4 PVER="5.45.3"
5 PBUILD="r1"
6
7 PCAT="dev-util"
8
9 DESCRIPTION="A tool for automating interactive applications."
10 HOMEPAGE="https://www.nist.gov/services-resources/software/expect"
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}- | highesttarball gz"
29 UP2SEPERATOR="t"
30 UP2DATE="updatecmd_sourceforge ${PNAME} gz"
31
32 src_compile()
33 {
34 cd ${SRCDIR}
35
36 mconfigure \
37 --enable-shared \
38 --with-tcl=/usr/$(mlibdir) \
39 --with-tclinclude=/usr/include \
40 || die
41
42 mmake || die
43 }
44
45 src_install()
46 {
47 cd ${SRCDIR}
48
49 mmake DESTDIR=${BINDIR} install || die
50 # fix missing symlink
51 mlink expect${PVER}/libexpect${PVER}.so /usr/$(mlibdir)/ || die
52 minstalldocs ChangeLog FAQ HISTORY NEWS README || die
53 }