blob: 6a70b388631a137f472be6ccd00d347020fe49e2 (
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=libexpat
version=2.2.9
revision=0
sources=(
"https://github.com/${name}/${name}/archive/R_${version//./_}.tar.gz"
)
build_depends=(
"autoconf"
"automake"
"libtool"
)
depends=()
function prepare() {
tar xf R_${version//./_}.tar.gz
cd ${name}-R_${version//./_}/expat
}
function build() {
./buildconf.sh
./configure --prefix="${prefix}" \
--libdir="${prefix}/lib"
make -j${maxjobs}
}
function package() {
make install DESTDIR="${destdir}"
}
|