aboutsummaryrefslogtreecommitdiffstats
path: root/main/mqtt-exec
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-11-29 13:08:49 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-11-29 13:08:49 +0000
commit81d9344674666f2aac59a59310514f77e7be6c17 (patch)
treed8d1d1a1354aa436880f338bedf2898ca8abfea6 /main/mqtt-exec
parent85cb514648d841aa2f223c109eaa5b79b8317b7d (diff)
downloadaports-81d9344674666f2aac59a59310514f77e7be6c17.tar.bz2
aports-81d9344674666f2aac59a59310514f77e7be6c17.tar.xz
main/mqtt-exec: moved from testing
Diffstat (limited to 'main/mqtt-exec')
-rw-r--r--main/mqtt-exec/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/main/mqtt-exec/APKBUILD b/main/mqtt-exec/APKBUILD
new file mode 100644
index 0000000000..091778779d
--- /dev/null
+++ b/main/mqtt-exec/APKBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=mqtt-exec
+pkgver=0.1
+pkgrel=0
+pkgdesc="simple MQTT client that executes a command on messages"
+url="https://github.com/ncopa/mqtt-exec"
+arch="all"
+license="MIT"
+depends=""
+depends_dev=""
+makedepends="$depends_dev mosquitto-dev"
+install=""
+subpackages=""
+source="mqtt-exec-$pkgver.tar.gz::https://github.com/ncopa/mqtt-exec/archive/v$pkgver.tar.gz"
+
+_builddir="$srcdir"/mqtt-exec-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ install -D mqtt-exec "$pkgdir"/usr/bin/mqtt-exec
+}
+
+md5sums="1e78b343ecd7cc64d2771dcd04dfc2d7 mqtt-exec-0.1.tar.gz"
+sha256sums="4a62dc42131ba9c2ba418818e7394981c81c8f0a53cc31619a7d45247f6d376e mqtt-exec-0.1.tar.gz"
+sha512sums="583d02e7d1a0b7cb7bb9a249a7581109d0d48b6c9a0acc77022cfe2e8db56f8295a41c9374b0671343a215280b1d8cf36346501cabae157d6235170b7ee7d6ea mqtt-exec-0.1.tar.gz"