mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-21 08:37:02 +02:00
expect: add mkpasswd alternatives
This commit is contained in:
parent
3e4c6d2f7b
commit
9a8ccbdd54
1 changed files with 8 additions and 2 deletions
|
@ -1,9 +1,10 @@
|
|||
# Template file for 'expect'
|
||||
pkgname=expect
|
||||
version=5.45.4
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc=${pkgname}${version}
|
||||
build_style=gnu-configure
|
||||
make_check_target="test"
|
||||
makedepends="tcl-devel"
|
||||
short_desc="Programmed dialogue with interactive programs"
|
||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||
|
@ -11,13 +12,18 @@ license="Public Domain"
|
|||
homepage="http://www.nist.gov/el/msid/expect.cfm"
|
||||
distfiles="${SOURCEFORGE_SITE}/${pkgname}/Expect/${version}/${pkgname}${version}.tar.gz"
|
||||
checksum=49a7da83b0bdd9f46d04a04deec19c7767bb9a323e40c4781f89caf760b92c34
|
||||
make_check_target="test"
|
||||
nocross=yes
|
||||
|
||||
alternatives="
|
||||
mkpasswd:mkpasswd:/usr/bin/expect-mkpasswd
|
||||
mkpasswd:mkpasswd.1:/usr/share/man/man1/expect-mkpasswd.1"
|
||||
|
||||
LDFLAGS+=" -Wl,-rpath=/usr/lib:/usr/lib/${pkgname}${version}"
|
||||
|
||||
post_install() {
|
||||
rm ${DESTDIR}/usr/bin/weather
|
||||
mv ${DESTDIR}/usr/bin/{,expect-}mkpasswd
|
||||
mv ${DESTDIR}/usr/share/man/man1/{,expect-}mkpasswd.1
|
||||
}
|
||||
expect-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
|
|
Loading…
Add table
Reference in a new issue