Magellan Linux

Annotation of /trunk/extras/expect/expect-5.45-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 16161 - (hide annotations) (download)
Fri Jan 25 13:52:32 2013 UTC (11 years, 3 months ago) by niro
File size: 879 byte(s)
-fixed missing symlink
1 niro 16161 # $Id$
2    
3     PNAME="expect"
4     PVER="5.45"
5     PBUILD="r3"
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     mconfigure \
35     --enable-shared \
36     --with-tcl=/usr/$(mlibdir) \
37     --with-tclinclude=/usr/include \
38     || die
39    
40     mmake || die
41     }
42    
43     src_install()
44     {
45     cd ${SRCDIR}
46    
47     mmake DESTDIR=${BINDIR} install || die
48     # fix missing symlink
49     mlink expect${PVER}/libexpect${PVER}.so /usr/lib/ || die
50     minstalldocs ChangeLog FAQ HISTORY NEWS README || die
51     }