blob: e3a7365d3f908fb643bcac5691aa930d6ca10114 (
plain)
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
|
pkgname=libxcrypt
version=4.5.2
upstream="https://github.com/besser82/libxcrypt/releases/download/v${version}/libxcrypt-${version}.tar.xz"
build_no=1
makedepends=(perl)
function do_configure {
mkdir build
cd build
conf_flags=(
--prefix=/usr
--host=${DISTRO_TC}
--disable-werror
)
../configure "${conf_flags[@]}"
}
function do_build {
cd build
make -j$(nproc)
}
function do_install {
cd build
make DESTDIR=${DESTDIR} install
}
|