blob: 3b630ba4369b9d3390d5c234f3a70af3191d51d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# $Id: PKGBUILD 104372 2011-01-01 23:52:17Z kevin $
# Maintainer: kevin <kevin@archlinux.org>
pkgname=expect
pkgver=5.45
pkgrel=1
pkgdesc="A tool for automating interactive applications"
arch=(i686 x86_64)
url="http://www.nist.gov/el/msid/expect.cfm"
license=('custom')
depends=('tcl>=8.5.3')
conflicts=('expectk')
install=expect.install
changelog=ChangeLog
source=(http://downloads.sourceforge.net/project/expect/Expect/${pkgver}/expect${pkgver}.tar.gz)
# CVS checkout on gerolde.
#source=(ftp://ftp.archlinux.org/other/expect/expect-${pkgver}.tar.bz2)
# old nist source=(http://expect.nist.gov/src/expect-${pkgver}.tar.bz2)
md5sums=('44e1a4f4c877e9ddc5a542dfa7ecc92b')
build() {
cd ${srcdir}/expect${pkgver}
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--mandir=/usr/share/man --with-tcl=/usr/lib \
--with-tclinclude=/usr/include
# Keep $startdir/pkg out of library search paths.
sed -e 's/-rpath,${LIB_RUNTIME_DIR}:/-rpath,/' -i Makefile
make
make DESTDIR=${pkgdir} install
# license.
install -D -m644 README ${pkgdir}/usr/share/licenses/${pkgname}/README
(cd ${pkgdir}/usr/lib;
ln -s expect${pkgver}/libexpect${pkgver}.so libexpect.so)
}
|