diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2019-11-08 23:14:10 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2019-11-08 23:14:10 -0500 |
commit | 79a4dcec2e34c5d58ab0661146ee9727452d672b (patch) | |
tree | 7ba0b1b446c048dfbc8d2050f9a1615dbbc2812f /scripts/patchelf | |
parent | 477ecc69f6a8cc6a00015d21e7cb27baf59ba689 (diff) | |
download | spm-79a4dcec2e34c5d58ab0661146ee9727452d672b.tar.gz |
Whoosh
Diffstat (limited to 'scripts/patchelf')
-rw-r--r-- | scripts/patchelf/build.sh | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/scripts/patchelf/build.sh b/scripts/patchelf/build.sh new file mode 100644 index 0000000..fb51cfc --- /dev/null +++ b/scripts/patchelf/build.sh @@ -0,0 +1,27 @@ +#!/bin/bash +name=patchelf +version=0.10 +revision=0 +sources=("https://github.com/NixOS/${name}/archive/${version}.tar.gz") +build_depends=( + "automake" + "autoconf" +) +depends=() + +function prepare() { + tar xf ${version}.tar.gz + cd ${name}-${version} +} + +function build() { + ./bootstrap.sh + ./configure --prefix="${prefix}" + make -j${maxjobs} +} + +function package() { + make install DESTDIR="${destdir}" +} + + |