aboutsummaryrefslogtreecommitdiffstats
path: root/main/freetds/APKBUILD
blob: 283ebe62156bb94b54c06fbbe50893ec5a827717 (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
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=freetds
pkgver=0.82
pkgrel=4
pkgdesc="Tabular Datastream Library"
url="http://www.freetds.org/"
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"