diff options
| author | 0x221E | 2026-06-14 14:06:45 +0200 |
|---|---|---|
| committer | 0x221E | 2026-06-14 14:06:45 +0200 |
| commit | cacee711ffebd105827ce8b35e4c13a4e674538a (patch) | |
| tree | 94bd8c29c08a8acb2b8e9e17531e79d02781bafb /templates/libxcrypt | |
initial commit
Diffstat (limited to 'templates/libxcrypt')
| -rw-r--r-- | templates/libxcrypt/template | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/templates/libxcrypt/template b/templates/libxcrypt/template new file mode 100644 index 0000000..e3a7365 --- /dev/null +++ b/templates/libxcrypt/template @@ -0,0 +1,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 +} |
