# Contributor: Natanael Copa # Maintainer: Natanael Copa setvar pkgname = 'pam-pgsql' setvar pkgver = '0.7.3.2' setvar pkgrel = '0' setvar pkgdesc = ""PAM module to authenticate using a PostgreSQL database"" setvar url = ""http://sourceforge.net/projects/pam-pgsql/"" setvar arch = ""all"" setvar license = ""GPL"" setvar depends = """" setvar depends_dev = """" setvar makedepends = ""$depends_dev linux-pam-dev postgresql-dev libgcrypt-dev bsd-compat-headers"" setvar install = """" setvar subpackages = ""$pkgname-doc"" setvar source = ""http://downloads.sourceforge.net/project/pam-pgsql/pam-pgsql/0.7/pam-pgsql-$pkgver.tar.gz"" setvar builddir = ""$srcdir"/pam-pgsql-$pkgver" proc build { cd $builddir ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ || return 1 make || return 1 } proc package { cd $builddir make DESTDIR="$pkgdir" install || return 1 } setvar sha512sums = ""d5766e56a13b0b4762fba10d624d12f130f2675f1f1772eaaf275b599f44adcf98287c2636462ba3faf46af139eb1bd157918c0c783040796562f37dec17a6d9 pam-pgsql-0.7.3.2.tar.gz""