blob: 31c6399e0508a75d5185ee81d4703882f9ad5abe (
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
35
36
37
38
39
40
|
#!/bin/bash
name=e2fsprogs
version=1.45.4
revision=0
sources=(
"https://mirrors.edge.kernel.org/pub/linux/kernel/people/tytso/${name}/v${version}/${name}-${version}.tar.gz"
)
build_depends=(
"autoconf"
"automake"
"libtool"
)
depends=()
function prepare() {
tar xf ${name}-${version}.tar.gz
cd ${name}-${version}
}
function build() {
./configure \
--prefix=${_prefix} \
--enable-relative-symlinks \
--enable-elf-shlibs \
--enable-libuuid \
--enable-libblkid
make -j${_maxjobs}
}
function package() {
pushd lib/uuid &>/dev/null
make install DESTDIR="${_pkgdir}"
popd
pushd lib/blkid &>/dev/null
make install DESTDIR="${_pkgdir}"
popd
}
|