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/mpc | |
initial commit
Diffstat (limited to 'templates/mpc')
| -rw-r--r-- | templates/mpc/template | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/templates/mpc/template b/templates/mpc/template new file mode 100644 index 0000000..e11ad7a --- /dev/null +++ b/templates/mpc/template @@ -0,0 +1,29 @@ +pkgname=mpc +version=1.4.1 +build_no=1 +upstream="https://ftp.gnu.org/gnu/mpc/mpc-${version}.tar.xz" + +makedepends=(gmp mpfr) + +function do_configure { + mkdir build/ + cd build/ + + conf_flags=( + --prefix=/usr + --host=${DISTRO_TC} + --build=${DISTRO_TC} + ) + + ../configure "${conf_flags[@]}" +} + +function do_build { + cd build/ + make -j$(nproc) +} + +function do_install { + cd build/ + make DESTDIR=${DESTDIR} install +} |
