diff options
Diffstat (limited to 'templates/libxcrypt/template')
| -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 +} |
