blob: e4b6a5576d5fd2b89f4c8e871d5294fd2aed095e (
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
|
#!/bin/bash
name=ncurses
version=6.1
revision=0
sources=(
"http://mirror.rit.edu/gnu/${name}/${name}-${version}.tar.gz"
)
depends=()
function prepare() {
tar xf ${name}-${version}.tar.gz
cd ${name}-${version}
}
function build() {
./configure --prefix=$prefix \
--with-shared \
--with-normal \
--without-debug \
--without-ada \
--enable-widec \
--enable-pc-files \
--with-cxx-bindings \
--with-cxx-shared \
--with-manpage-format=normal
make -j${maxjobs}
}
function package() {
make install DESTDIR="${destdir}"
}
|