void-packages/srcpkgs/expect/template

29 lines
794 B
Bash

# Template file for 'expect'
pkgname=expect
version=5.45.3
revision=1
wrksrc=${pkgname}${version}
build_style=gnu-configure
makedepends="tcl-devel"
short_desc="Programmed dialogue with interactive programs"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Public Domain"
homepage="http://www.nist.gov/el/msid/expect.cfm"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/Expect/${version}/${pkgname}${version}.tar.gz"
checksum=c520717b7195944a69ce1492ec82ca0ac3f3baf060804e6c5ee6d505ea512be9
nocross=yes
LDFLAGS+=" -Wl,-rpath=/usr/lib:/usr/lib/${pkgname}${version}"
post_install() {
rm ${DESTDIR}/usr/bin/weather
}
expect-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove usr/share/man/man3
}
}