diff options
author | root <root@rshg054.dnsready.net> | 2012-04-30 00:01:38 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-04-30 00:01:38 +0000 |
commit | b7cd4b184f75d3d2b54b356e08f296df3a9afb38 (patch) | |
tree | dc5e84c1f7271cf0c8ec0221b5a22e48a884081a /community-testing/pam_mysql | |
parent | 4412991f6b4fd655fc1f51f8d79a0be0c10158b7 (diff) |
Mon Apr 30 00:01:38 UTC 2012
Diffstat (limited to 'community-testing/pam_mysql')
-rw-r--r-- | community-testing/pam_mysql/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/community-testing/pam_mysql/PKGBUILD b/community-testing/pam_mysql/PKGBUILD new file mode 100644 index 000000000..25d792b0b --- /dev/null +++ b/community-testing/pam_mysql/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 70058 2012-04-28 21:41:51Z dreisner $ +# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> +# Contributor: Arjan Timmerman<arjan@archlinux.org> +# Contributor: Manolis Tzanidakis +pkgname=pam_mysql +pkgver=0.7RC1 +pkgrel=6 +pkgdesc="A PAM module to authenticate users against mysql." +arch=(i686 x86_64) +license=('GPL') +url="http://pam-mysql.sourceforge.net" +depends=('pam' 'mysql' 'openssl') +source=(http://sourceforge.net/projects/pam-mysql/files/pam-mysql/${pkgver}/${pkgname}-${pkgver}.tar.gz) +md5sums=('6177183d7e98dc12f2e444c9fbd4f13c') +options=(!libtool) + +build() { + cd $srcdir/$pkgname-$pkgver + + sed -i 's/pam_mysql_la_LIBADD = /pam_mysql_la_LIBADD = -lpam/g' Makefile.in + ./configure --prefix=/usr --with-pam-mods-dir=/usr/lib/security + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + + make DESTDIR=$pkgdir install +} |