aboutsummaryrefslogblamecommitdiffstats
path: root/main/cracklib/APKBUILD
blob: 4d76c612bf4b60ed30d9c7e6b0ea9bf517feca16 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                               
             
        

                                                    
          
             
          

              
                          
                                                                         
                          
         





                                                 


                                     
 





                                           
                                   
                                



                                     



                                          

                                                                 
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=cracklib
pkgver=2.8.16
pkgrel=1
pkgdesc="A library used to enforce strong passwords"
url="http://sourceforge.net/projects/cracklib"
arch="all"
license="GPL"
depends=""
makedepends=""
install=
subpackages="$pkgname-dev"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
	cracklib-nls.patch
	"

prepare() {
	cd "$srcdir"/$pkgname-$pkgver
	patch -p1 -i "$srcdir"/cracklib-nls.patch
}

build() {

	cd "$srcdir/$pkgname-$pkgver"

	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--without-python \
		--disable-nls \
		--with-default-dict
	make -j1 all || return 1
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make -j1 DESTDIR="$pkgdir" install

}

md5sums="3bfb22db8fcffd019463ee415a1b25b7  cracklib-2.8.16.tar.gz
239b1b7b59bee4dee7577aa9df18ba46  cracklib-nls.patch"