blob: 140b4a43f3951f1722f0cc8dca5eb35854c73d22 (
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
39
40
41
42
|
# $Id: PKGBUILD 151250 2012-02-25 10:00:44Z allan $
# Maintainer: kevin <kevin@archlinux.org>
pkgname=expect
pkgver=5.45
pkgrel=2
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
}
package() {
cd ${srcdir}/expect${pkgver}
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)
}
|