21 lines
545 B
Plaintext
21 lines
545 B
Plaintext
|
# Description: Library for password quality checking and generating random passwords
|
||
|
# URL: https://fedorahosted.org/libpwquality/
|
||
|
# Packager: pierre at nutyx dot org
|
||
|
# Depends on: python cracklib
|
||
|
|
||
|
name=libpwquality
|
||
|
version=1.3.0
|
||
|
release=1
|
||
|
|
||
|
source=(https://fedorahosted.org/releases/l/i/libpwquality/$name-$version.tar.bz2)
|
||
|
|
||
|
build() {
|
||
|
cd $name-$version
|
||
|
PYTHON=python2 ./configure --prefix=/usr \
|
||
|
--sysconfdir=/etc \
|
||
|
--localstatedir=/var \
|
||
|
--with-python-rev=2.7
|
||
|
make
|
||
|
make DESTDIR=$PKG install
|
||
|
}
|