aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tiny-ec2-bootstrap/APKBUILD
diff options
context:
space:
mode:
authorMike Crute <mike@crute.us>2017-12-24 18:44:29 +0000
committerJakub Jirutka <jakub@jirutka.cz>2017-12-26 21:39:46 +0100
commitf71e40bae98b78d843422e89e3960f5d0ba59186 (patch)
tree4e0cffdc49092c7dc7026c0035dc6fc3673caafc /testing/tiny-ec2-bootstrap/APKBUILD
parent69335e0ee103c68143a510ec867b8d1d238afd83 (diff)
downloadaports-f71e40bae98b78d843422e89e3960f5d0ba59186.tar.gz
aports-f71e40bae98b78d843422e89e3960f5d0ba59186.tar.bz2
aports-f71e40bae98b78d843422e89e3960f5d0ba59186.tar.xz
testing/tiny-ec2-bootstrap: new aport
Diffstat (limited to 'testing/tiny-ec2-bootstrap/APKBUILD')
-rw-r--r--testing/tiny-ec2-bootstrap/APKBUILD20
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/tiny-ec2-bootstrap/APKBUILD b/testing/tiny-ec2-bootstrap/APKBUILD
new file mode 100644
index 0000000000..418d071462
--- /dev/null
+++ b/testing/tiny-ec2-bootstrap/APKBUILD
@@ -0,0 +1,20 @@
+# Contributor: Mike Crute <mike@crute.us>
+# Maintainer: Mike Crute <mike@crute.us>
+pkgname=tiny-ec2-bootstrap
+pkgver=1.0.0
+pkgrel=0
+pkgdesc="A tiny EC2 instance bootstrapper that uses instance metadata"
+url="https://github.com/mcrute/tiny-ec2-bootstrap"
+arch="noarch"
+license="MIT"
+options="!check" # no tests provided
+depends="openrc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/mcrute/$pkgname/archive/release-$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-release-$pkgver"
+
+package() {
+ cd "$builddir"
+ make install PREFIX=$pkgdir
+}
+
+sha512sums="3075327ad7cf9a2eb26b3c9e98785f542f46ab8ca01125efb6a5bf34fe16a14e346bec0abfe3f09ac99a616eae361f4cbde09f41c65ba5d8fe6fea8c035e2970 tiny-ec2-bootstrap-1.0.0.tar.gz"