blob: d6cda4c61ac2262c80317de363c19a0a27d957a5 (
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
|
#!/bin/bash
name=m4
version=1.4.18
revision=0
sources=(
"http://mirror.rit.edu/gnu/${name}/${name}-${version}.tar.xz"
)
build_depends=(
"xz"
)
depends=(
"patch"
)
function prepare() {
tar xf ${name}-${version}.tar.xz
cd ${name}-${version}
patch -p1 -i ${build_script_root}/"m4-1.4.18-glibc-change-work-around.patch"
}
function build() {
./configure --prefix=$prefix
make -j${maxjobs}
}
function package() {
make install DESTDIR="${destdir}"
}
|