aboutsummaryrefslogtreecommitdiffstats
path: root/main/freetds/APKBUILD
blob: 69f9ac04ee82726a39fae74f5c91755db38fd797 (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
30
31
32
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=freetds
pkgver=0.82
pkgrel=8
pkgdesc="Tabular Datastream Library"
url="http://www.freetds.org/"
arch="all"
license="GPL"
depends=
makedepends="unixodbc-dev readline-dev libiconv-dev libtool"
install=
subpackages="$pkgname-doc $pkgname-dev"
source="http://ibiblio.org/pub/Linux/ALPHA/freetds/stable/$pkgname-$pkgver.tar.gz"

build() {
	cd "$srcdir/$pkgname-$pkgver"

	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--enable-msdblib
	make || return 1
}

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

md5sums="3df6b2e83fd420e90f1becbd1162990a  freetds-0.82.tar.gz"