summaryrefslogtreecommitdiff
path: root/extra/freetds/PKGBUILD
blob: 851c1b87b0dab4383793bca182dfcf4dc9bc9969 (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
# $Id: PKGBUILD 11362 2010-02-09 23:57:26Z dgriffiths $
# Contributor: Aaron Malone <aaron@munge.net>

pkgname=freetds
pkgver=0.82
pkgrel=5
pkgdesc='Library for accessing Sybase and MS SQL Server databases'
url='http://www.freetds.org'
arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('unixodbc')
options=('!libtool')
backup=('etc/freetds/freetds.conf'
        'etc/freetds/locales.conf'
        'etc/freetds/pool.conf')
source=("ftp://ftp.ibiblio.org/pub/Linux/ALPHA/freetds/stable/${pkgname}-${pkgver}.tar.gz")
md5sums=('3df6b2e83fd420e90f1becbd1162990a')

build() {
	cd ${srcdir}/${pkgname}-${pkgver}
	./configure --prefix=/usr --sysconfdir=/etc/freetds --mandir=/usr/share/man --enable-msdblib --with-tdsver=7.0
	make
}

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