summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlyx Wolcott <alyx@malkier.net>2019-07-04 18:35:54 -0500
committerAlyx Wolcott <alyx@malkier.net>2019-07-04 18:35:54 -0500
commit171f16f903cf8b34b7b9bd594f62cd5020cbc022 (patch)
tree121ce2c595d2f56a8705437795af6379aafcf4df
parent282e0244409d82e42e36de8ee32a6ca92e55a96c (diff)
downloadpackages-171f16f903cf8b34b7b9bd594f62cd5020cbc022.tar.gz
packages-171f16f903cf8b34b7b9bd594f62cd5020cbc022.tar.bz2
packages-171f16f903cf8b34b7b9bd594f62cd5020cbc022.tar.xz
packages-171f16f903cf8b34b7b9bd594f62cd5020cbc022.zip
user/erl-rebar: New package for an(other) erlang buildsys
-rw-r--r--user/erl-rebar/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/user/erl-rebar/APKBUILD b/user/erl-rebar/APKBUILD
new file mode 100644
index 000000000..c4fe28bb2
--- /dev/null
+++ b/user/erl-rebar/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Alyx Wolcott <alyx@leuhta.com>
+# Maintainer: Alyx Wolcott <alyx@leuhta.com>
+pkgname=erl-rebar
+pkgver=2.6.4
+pkgrel=0
+pkgdesc="Legacy Erlang build tool"
+url="https://github.com/rebar/rebar"
+arch="noarch"
+license="Apache-2"
+options="!tracedeps"
+depends="erlang"
+makedepends="erlang-dev"
+source="$pkgname-$pkgver.tar.gz::https://codeload.github.com/rebar/rebar/tar.gz/$pkgver"
+builddir="$srcdir/rebar-$pkgver"
+
+build() {
+ ./bootstrap
+}
+
+check() {
+ ./rebar -v eunit
+}
+
+package() {
+ install -d -m755 $pkgdir/usr/bin/
+ install -m755 ./rebar $pkgdir/usr/bin/
+}
+
+sha512sums="4e53d1ab7db296c60fb039443da7e3b31b63410fc614690c6faa7ec330d9e9393dbc1c8507aa4aea2c99397e1b443ff9d25e4d57ec57f616ee748aa97d055ffa erl-rebar-2.6.4.tar.gz"