summaryrefslogtreecommitdiff
path: root/findutils
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2020-02-18 12:56:22 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2020-02-18 12:56:22 -0500
commit13984f725db156cbc952d0afe90f27da15a0b85d (patch)
treeb3a39b75ecaecca11ee1525a99153a7606e460cb /findutils
downloadspm_packages-13984f725db156cbc952d0afe90f27da15a0b85d.tar.gz
Initial commit
Diffstat (limited to 'findutils')
-rw-r--r--findutils/build.sh31
1 files changed, 31 insertions, 0 deletions
diff --git a/findutils/build.sh b/findutils/build.sh
new file mode 100644
index 0000000..2865dd5
--- /dev/null
+++ b/findutils/build.sh
@@ -0,0 +1,31 @@
+#!/bin/bash
+name=findutils
+version=4.7.0
+revision=0
+sources=(
+ "https://ftp.gnu.org/gnu/${name}/${name}-${version}.tar.xz"
+)
+build_depends=(
+ "automake"
+ "autoconf"
+ "xz"
+)
+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}"
+}
+
+