summaryrefslogtreecommitdiffstats
path: root/main/sqlite/APKBUILD
blob: 40a5cd7e443e62c585ecbbade49155bdcd4307af (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
# Maintainer: Carlo Landmeter <clandmeter at gmail>
pkgname=sqlite
pkgver=3.6.15
pkgrel=0
pkgdesc="A C library that implements an SQL database engine"
url="http://www.sqlite.org/"
license="custom"
depends=""
makedepends=""
source="http://www.sqlite.org/$pkgname-$pkgver.tar.gz
       license.txt"

subpackages="$pkgname-doc $pkgname-dev"

build ()
{
       cd ${srcdir}/${pkgname}-${pkgver}
       ./configure --prefix=/usr \
       --enable-threadsafe \
       --disable-static \
       --disable-tcl \
       --disable-readline \
       || return 1
       make || return 1
       make DESTDIR=${pkgdir} install || return 1
       install -Dm0644 sqlite3.1 ${pkgdir}/usr/share/man/man1/sqlite3.1
       install -Dm644 ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/${pkgname}/license.txt
}

md5sums="ccde887ffc8a26251f3514d54594ff92  sqlite-3.6.15.tar.gz
c1cdbc5544034d9012e421e75a5e4890  license.txt"