expect: update to 5.45
This commit is contained in:
@@ -6,11 +6,11 @@
|
||||
###########################################################
|
||||
# Check the following 4 variables before running the script
|
||||
topdir=expect
|
||||
version=5.43.0
|
||||
version=5.45
|
||||
pkgver=1
|
||||
source[0]=$topdir-$version.tar.gz
|
||||
source[0]=http://prdownloads.sourceforge.net/expect/$topdir$version.tar.gz
|
||||
# If there are no patches, simply comment this
|
||||
patch[0]=expect-5.43-no-rpath.patch
|
||||
#patch[0]=
|
||||
|
||||
# Source function library
|
||||
. ${BUILDPKG_SCRIPTS}/buildpkg.functions
|
||||
@@ -19,17 +19,15 @@ patch[0]=expect-5.43-no-rpath.patch
|
||||
export CPPFLAGS="-I$prefix/include"
|
||||
export LDFLAGS="-L$prefix/lib -R$prefix/lib"
|
||||
|
||||
configure_args=(--prefix=$prefix --mandir=$prefix/$_mandir --with-tcl=${prefix}/${_libdir} --with-tclinclude=${prefix}/${_includedir}/tcl-private --with-tkinclude=${prefix}/${_includedir}/tk-private --with-tk=${prefix}/${_libdir} --enable-shared)
|
||||
|
||||
topsrcdir=$topdir-${version%.*}
|
||||
majorver=5.43
|
||||
configure_args=(--prefix=$prefix --mandir=$prefix/$_mandir --with-tcl=${prefix}/${_libdir} --with-tclinclude=${prefix}/${_includedir} --enable-shared)
|
||||
make_check_target=test
|
||||
topsrcdir=$topdir${version}
|
||||
majorver=$version
|
||||
|
||||
reg prep
|
||||
prep()
|
||||
{
|
||||
generic_prep
|
||||
sleep 1
|
||||
touch configure
|
||||
}
|
||||
|
||||
reg build
|
||||
@@ -47,9 +45,9 @@ check()
|
||||
reg install
|
||||
install()
|
||||
{
|
||||
generic_install INSTALL_ROOT
|
||||
generic_install DESTDIR
|
||||
setdir ${stagedir}${prefix}/${_libdir}
|
||||
${__ln} -s libexpect${majorver}.so libexpect.so
|
||||
${__ln} -s ${topdir}${version}/libexpect${majorver}.so libexpect.so
|
||||
${__rm} -f ${_libdir}/expect-${majorver}/*.a
|
||||
doc FAQ README HISTORY
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user