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/bc | |
initial commit
Diffstat (limited to 'templates/bc')
| -rw-r--r-- | templates/bc/template | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/templates/bc/template b/templates/bc/template new file mode 100644 index 0000000..ea1eb1b --- /dev/null +++ b/templates/bc/template @@ -0,0 +1,27 @@ +pkgname=bc +version=1.08.2 +build_no=1 +upstream="${MIRROR_GNU_FTP}/bc/bc-${version}.tar.gz" + +makedepends=(autoconf) + +function do_configure { + mkdir build/ + cd build/ + + conf_flags=( + --prefix=/usr + ) + + PERL=/usr/bin/perl ../configure "${conf_flags[@]}" +} + +function do_build { + cd build/ + make -j$(nproc) +} + +function do_install { + cd build/ + make DESTDIR=${DESTDIR} install +} |
