mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
34 lines
1.3 KiB
Bash
34 lines
1.3 KiB
Bash
|
# Maintainer: Manuel Rotter <rotter.manuel@gmail.com>
|
||
|
|
||
|
pkgname=expect
|
||
|
pkgver=5.44.1.4
|
||
|
pkgrel=1
|
||
|
pkgdesc="A tool for automating interactive applications"
|
||
|
arch=(arm)
|
||
|
depends=('tcl>=8.5.0')
|
||
|
makedepends=('tk>=8.5.0')
|
||
|
url="http://expect.nist.gov/"
|
||
|
tcltkver=8.5.0
|
||
|
source=(ftp://ftp.archlinux.org/other/expect/expect-$pkgver.tar.bz2
|
||
|
http://heanet.dl.sourceforge.net/sourceforge/tcl/tk$tcltkver-src.tar.gz
|
||
|
http://heanet.dl.sourceforge.net/sourceforge/tcl/tcl$tcltkver-src.tar.gz)
|
||
|
md5sums=('bbfd5ef50f3c1df4fe79e5a20a947d41'
|
||
|
'bc217c45ed6b2f5b8d3120df63fa13bd'
|
||
|
'd890c505465411b25050b6cd95971d2c')
|
||
|
|
||
|
build() {
|
||
|
cd $startdir/src/expect-5.44.1.4
|
||
|
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
|
||
|
--with-tcl=/usr/lib --with-tk=/usr/lib --without-x \
|
||
|
--with-tclinclude=$startdir/src/tcl$tcltkver/generic \
|
||
|
--with-tkinclude=$startdir/src/tk$tcltkver/generic
|
||
|
# Keep $startdir/pkg out of library search paths.
|
||
|
sed -e 's/-rpath,${LIB_RUNTIME_DIR}:/-rpath,/' -i Makefile
|
||
|
make || return 1
|
||
|
make prefix=$startdir/pkg/usr exec_prefix=$startdir/pkg/usr sysconfdir=$startdir/pkg/etc \
|
||
|
localstatedir=$startdir/pkg/var install
|
||
|
# Remove X related stuff.
|
||
|
rm -f $startdir/pkg/usr/bin/{multixterm,tknewsbiff,tkpasswd,xpstat}
|
||
|
rm -f $startdir/pkg/usr/man/man1/{multixterm.1,tknewsbiff.1}
|
||
|
}
|