libpwquality: cross build support.

This commit is contained in:
Juan RP 2013-02-13 09:26:39 +01:00
parent 281b68f164
commit 3cc6fbafdc
2 changed files with 11 additions and 11 deletions

View file

@ -1,11 +1,8 @@
# Template file for 'libpwquality-devel'.
#
depends="${sourcepkg}-${version}_${revision}"
noarch=yes
short_desc="${short_desc} -- development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
noarch=yes
do_install() {
vmove usr/include usr

View file

@ -1,7 +1,7 @@
# Template file for 'libpwquality'
pkgname=libpwquality
version=1.2.0
revision=1
revision=2
build_style=gnu-configure
configure_args="--disable-static --enable-pam --disable-python-bindings
--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"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="https://fedorahosted.org/libpwquality/"
license="GPL-2"
distfiles="https://fedorahosted.org/releases/l/i/$pkgname/$pkgname-$version.tar.bz2"
checksum=32cfbe302ade7e7271ed44bcae8aae3b6b55ca56ff642c4ece1752ffaa8003ee
long_desc="
The libpwquality library purpose is to provide common functions for password
quality checking and also scoring them based on their apparent randomness.
The library also provides a function for generating random passwords with
good pronounceability. The library supports reading and parsing of a
configuration file."
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
makedepends="automake gettext-devel"
crossmakedepends="pam-devel"
pre_configure() {
autoreconf -fi
}
fi