blob: 8bd6ca67140aa18efb2b30e8ad7deeea5e4e0c3c (
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
|
#!/bin/bash
name=libxml2
version=2.9.9
revision=0
sources=(
"https://github.com/GNOME/${name}/archive/v${version}.tar.gz"
)
build_depends=(
"automake"
"autoconf"
"libtool"
)
depends=(
"icu"
)
function prepare() {
tar xf v${version}.tar.gz
cd ${name}-${version}
}
function build() {
sh autogen.sh
./configure --prefix="${_prefix}"
make -j${_maxjobs}
}
function package() {
make install DESTDIR="${_pkgdir}"
}
|