diff options
Diffstat (limited to 'templates/libpsl/template')
| -rw-r--r-- | templates/libpsl/template | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/templates/libpsl/template b/templates/libpsl/template new file mode 100644 index 0000000..dbf4b68 --- /dev/null +++ b/templates/libpsl/template @@ -0,0 +1,29 @@ +pkgname=libpsl +version=0.21.5 +build_no=1 +upstream="https://github.com/rockdaboot/libpsl/releases/download/${version}/libpsl-${version}.tar.gz" +makedepends=() + +function do_configure { + mkdir build/ + cd build/ + + conf_flags=( + --prefix=/usr + --host=${DISTRO_TC} + --disable-nls + --disable-rpath + ) + + ../configure "${conf_flags[@]}" +} + +function do_build { + cd build/ + make -j$(nproc) +} + +function do_install { + cd build/ + make DESTDIR=${DESTDIR} install +} |
