aboutsummaryrefslogtreecommitdiffstats
path: root/main/freetds/APKBUILD
blob: 06f60b151bba8875dc65c4e7ee00699b65415235 (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
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=freetds
pkgver=0.82
pkgrel=5
pkgdesc="Tabular Datastream Library"
url="http://www.freetds.org/"
arch="x86 x86_64"
license="GPL"
depends=
makedepends="unixodbc-dev readline-dev"
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
	make || return 1
}

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

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