blob: 62a058c37599a74cb43c23decd3bc49047b6d2eb (
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
34
|
#!/bin/bash
name=git
version=2.24.0
revision=0
sources=(
"https://github.com/${name}/${name}/archive/v${version}.tar.gz"
)
build_depends=(
"automake"
"gettext"
"libtool"
)
depends=(
"curl"
"zlib"
)
function prepare() {
tar xf v${version}.tar.gz
cd ${name}-${version}
}
function build() {
make configure
./configure --prefix=$prefix
make -j${maxjobs}
}
function package() {
make install DESTDIR="${destdir}"
}
|