diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-02-18 12:56:22 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-02-18 12:56:22 -0500 |
commit | 13984f725db156cbc952d0afe90f27da15a0b85d (patch) | |
tree | b3a39b75ecaecca11ee1525a99153a7606e460cb /autoconf | |
download | spm_packages-13984f725db156cbc952d0afe90f27da15a0b85d.tar.gz |
Initial commit
Diffstat (limited to 'autoconf')
-rw-r--r-- | autoconf/build.sh | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/autoconf/build.sh b/autoconf/build.sh new file mode 100644 index 0000000..2bf7620 --- /dev/null +++ b/autoconf/build.sh @@ -0,0 +1,27 @@ +#!/bin/bash +name=autoconf +version=2.69 +revision=0 +sources=( + "http://mirror.rit.edu/gnu/${name}/${name}-${version}.tar.xz" +) +depends=( + "m4" + "xz" +) +build_depends=("${depends[@]}") + + +function prepare() { + tar xf ${name}-${version}.tar.xz + cd ${name}-${version} +} + +function build() { + ./configure --prefix=${_prefix} + make -j${_maxjobs} +} + +function package() { + make install DESTDIR="${_pkgdir}" +} |