libpwquality: cross build support.
This commit is contained in:
parent
281b68f164
commit
3cc6fbafdc
@ -1,11 +1,8 @@
|
|||||||
# Template file for 'libpwquality-devel'.
|
# Template file for 'libpwquality-devel'.
|
||||||
#
|
#
|
||||||
depends="${sourcepkg}-${version}_${revision}"
|
depends="${sourcepkg}-${version}_${revision}"
|
||||||
noarch=yes
|
|
||||||
short_desc="${short_desc} -- development files"
|
short_desc="${short_desc} -- development files"
|
||||||
long_desc="${long_desc}
|
noarch=yes
|
||||||
|
|
||||||
This package contains files for development, headers, static libs, etc."
|
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vmove usr/include usr
|
vmove usr/include usr
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# Template file for 'libpwquality'
|
# Template file for 'libpwquality'
|
||||||
pkgname=libpwquality
|
pkgname=libpwquality
|
||||||
version=1.2.0
|
version=1.2.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static --enable-pam --disable-python-bindings
|
configure_args="--disable-static --enable-pam --disable-python-bindings
|
||||||
--with-securedir=/usr/lib/security"
|
--with-securedir=/usr/lib/security"
|
||||||
@ -11,11 +11,14 @@ conf_files="/etc/security/pwquality.conf"
|
|||||||
short_desc="Library for password quality checking and generating random passwords"
|
short_desc="Library for password quality checking and generating random passwords"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="https://fedorahosted.org/libpwquality/"
|
homepage="https://fedorahosted.org/libpwquality/"
|
||||||
|
license="GPL-2"
|
||||||
distfiles="https://fedorahosted.org/releases/l/i/$pkgname/$pkgname-$version.tar.bz2"
|
distfiles="https://fedorahosted.org/releases/l/i/$pkgname/$pkgname-$version.tar.bz2"
|
||||||
checksum=32cfbe302ade7e7271ed44bcae8aae3b6b55ca56ff642c4ece1752ffaa8003ee
|
checksum=32cfbe302ade7e7271ed44bcae8aae3b6b55ca56ff642c4ece1752ffaa8003ee
|
||||||
long_desc="
|
|
||||||
The libpwquality library purpose is to provide common functions for password
|
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
|
||||||
quality checking and also scoring them based on their apparent randomness.
|
makedepends="automake gettext-devel"
|
||||||
The library also provides a function for generating random passwords with
|
crossmakedepends="pam-devel"
|
||||||
good pronounceability. The library supports reading and parsing of a
|
pre_configure() {
|
||||||
configuration file."
|
autoreconf -fi
|
||||||
|
}
|
||||||
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user