summaryrefslogtreecommitdiffstats
path: root/main/expect/APKBUILD
blob: e9b8ead2194a21e0ff06c1c9cd3d83aff859a59e (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
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=expect
pkgver=5.45
pkgrel=1
pkgdesc="A tool for automating interactive applications"
url="http://www.nist.gov/el/msid/expect.cfm"
arch="all"
license="custom"
depends=""
depends_dev="tcl-dev"
makedepends="$depends_dev"
subpackages="$pkgname-dev"
source="http://downloads.sourceforge.net/project/expect/Expect/$pkgver/$pkgname$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname$pkgver
build() {
	cd "$_builddir"
	./configure --prefix=/usr
		--sysconfdir=/etc \
		--localstatedir=/var \
		--mandir=/usr/share/man \
		--with-tcl=/usr/lib \
		--with-tclinclude=/usr/include \
		--disable-rpath
	make || return 1
}
package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="44e1a4f4c877e9ddc5a542dfa7ecc92b  expect5.45.tar.gz"