mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +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'
|
# Template file for 'expect'
|
||||||
pkgname=expect
|
pkgname=expect
|
||||||
version=5.45.4
|
version=5.45.4
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc=${pkgname}${version}
|
wrksrc=${pkgname}${version}
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
make_check_target="test"
|
||||||
makedepends="tcl-devel"
|
makedepends="tcl-devel"
|
||||||
short_desc="Programmed dialogue with interactive programs"
|
short_desc="Programmed dialogue with interactive programs"
|
||||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
|
@ -11,13 +12,18 @@ license="Public Domain"
|
||||||
homepage="http://www.nist.gov/el/msid/expect.cfm"
|
homepage="http://www.nist.gov/el/msid/expect.cfm"
|
||||||
distfiles="${SOURCEFORGE_SITE}/${pkgname}/Expect/${version}/${pkgname}${version}.tar.gz"
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/Expect/${version}/${pkgname}${version}.tar.gz"
|
||||||
checksum=49a7da83b0bdd9f46d04a04deec19c7767bb9a323e40c4781f89caf760b92c34
|
checksum=49a7da83b0bdd9f46d04a04deec19c7767bb9a323e40c4781f89caf760b92c34
|
||||||
make_check_target="test"
|
|
||||||
nocross=yes
|
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}"
|
LDFLAGS+=" -Wl,-rpath=/usr/lib:/usr/lib/${pkgname}${version}"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
rm ${DESTDIR}/usr/bin/weather
|
rm ${DESTDIR}/usr/bin/weather
|
||||||
|
mv ${DESTDIR}/usr/bin/{,expect-}mkpasswd
|
||||||
|
mv ${DESTDIR}/usr/share/man/man1/{,expect-}mkpasswd.1
|
||||||
}
|
}
|
||||||
expect-devel_package() {
|
expect-devel_package() {
|
||||||
depends="${sourcepkg}>=${version}_${revision}"
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue