mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-11 03:32:17 +01:00
43 lines
1010 B
Plaintext
43 lines
1010 B
Plaintext
# Contributor: Francesco Colista <francesco.colista@gmail.com>
|
|
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
|
|
pkgname=expect
|
|
pkgver=5.45
|
|
pkgrel=3
|
|
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 $pkgname-doc"
|
|
source="http://downloads.sourceforge.net/project/expect/Expect/$pkgver/$pkgname$pkgver.tar.gz"
|
|
|
|
_builddir="$srcdir"/$pkgname$pkgver
|
|
prepare() {
|
|
cd "$_builddir"
|
|
update_config_sub || return 1
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--localstatedir=/var \
|
|
--mandir=/usr/share/man \
|
|
--with-tcl=/usr/lib \
|
|
--with-tclinclude=/usr/include \
|
|
--disable-rpath \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
}
|
|
|
|
md5sums="44e1a4f4c877e9ddc5a542dfa7ecc92b expect5.45.tar.gz"
|