aboutsummaryrefslogtreecommitdiff
path: root/scripts/sqlite/build.sh
blob: 4c2f1d458ce944370324cd352ad236344bf30f40 (plain) (blame)
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
33
#!/bin/bash
name=sqlite
version=3.29.0
_v=3290000
revision=0
sources=(
    "https://sqlite.org/2019/${name}-autoconf-${_v}.tar.gz"
)
build_depends=(
    "automake"
    "autoconf"
    "readline"
    "zlib"
)
depends=(
    "readline"
    "zlib"
)


function prepare() {
    tar xf ${name}-autoconf-${_v}.tar.gz
    cd ${name}-autoconf-${_v}
}

function build() {
    ./configure --prefix=$prefix
    make -j${maxjobs}
}

function package() {
    make install DESTDIR="${destdir}"
}