cracklib: fix build after auto-create_wrksrc

This commit is contained in:
Đoàn Trần Công Danh 2022-10-24 08:50:35 +07:00
parent 67b523fb1b
commit 7e1464d01b
1 changed files with 6 additions and 1 deletions

View File

@ -2,6 +2,7 @@
pkgname=cracklib
version=2.9.7
revision=2
create_wrksrc=yes
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="libtool automake gettext-devel"
@ -16,12 +17,16 @@ checksum="8b6fd202f3f1d8fa395d3b7a5d821227cfd8bb4a9a584a7ae30cf62cea6287dd
lib32disabled=yes
post_extract() {
mv cracklib-${version}/* .
}
pre_configure() {
autoreconf -fi
}
post_install() {
vinstall ../cracklib-words-${version} 644 usr/share/cracklib cracklib-words
vinstall cracklib-words-${version} 644 usr/share/cracklib cracklib-words
}
cracklib-devel_package() {