blob: d27ce1bcd8c6e89010cbc4bc8fa39b235f850a1b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# $Id: PKGBUILD 44499 2011-04-07 20:43:51Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Arjan Timmerman<arjan@archlinux.org>
# Contributor: Manolis Tzanidakis
pkgname=pam_mysql
pkgver=0.7RC1
pkgrel=4
pkgdesc="A PAM module to authenticate users against mysql."
arch=(i686 x86_64 'mips64el')
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
make
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
}
|