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/tar | |
initial commit
Diffstat (limited to 'templates/tar')
| -rw-r--r-- | templates/tar/template | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/templates/tar/template b/templates/tar/template new file mode 100644 index 0000000..6bcbb08 --- /dev/null +++ b/templates/tar/template @@ -0,0 +1,31 @@ +pkgname=tar +version=1.35 +build_no=1 +upstream="https://ftp.gnu.org/gnu/tar/tar-${version}.tar.gz" + +function do_configure { + mkdir build/ + cd build/ + + conf_flags=( + --prefix=/usr + --host=${DISTRO_TC} + --disable-nls + --disable-rpath + --without-selinux + ) + + export FORCE_UNSAFE_CONFIGURE=1 + + ../configure "${conf_flags[@]}" +} + +function do_build { + cd build/ + make -j$(nproc) +} + +function do_install { + cd build/ + make DESTDIR=${DESTDIR} install +} |
