mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
22 lines
702 B
Bash
22 lines
702 B
Bash
|
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
||
|
# Contributor: Aaron Malone <aaron@munge.net>
|
||
|
pkgname=freetds
|
||
|
pkgver=0.82
|
||
|
pkgrel=2
|
||
|
pkgdesc="Library for accessing Sybase and MS SQL Server databases"
|
||
|
url="http://www.freetds.org"
|
||
|
arch=(i686 x86_64)
|
||
|
license=("LGPL")
|
||
|
depends=(unixodbc)
|
||
|
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 $startdir/src/$pkgname-$pkgver
|
||
|
./configure --prefix=/usr --sysconfdir=/etc/freetds
|
||
|
make || return 1
|
||
|
make DESTDIR=$startdir/pkg install
|
||
|
find $startdir/pkg -name '*.la' -exec rm {} \;
|
||
|
}
|