X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 5AB3BDC46B1 for ; Mon, 30 Nov 2015 21:00:37 +0000 (UTC) Received: from mail-io0-f170.google.com (mail-io0-f170.google.com [209.85.223.170]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 925AFDC0095 for ; Mon, 30 Nov 2015 21:00:36 +0000 (UTC) Received: by iofh3 with SMTP id h3so188817743iof.3 for ; Mon, 30 Nov 2015 13:00:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=mobu0O98CmMmlH/b8mDWFWCuNI4UsipxLTWtYZGQuVg=; b=r/7xoMlJOle7u/fqhQFrdg2853DO3xhabXiM10SOtM3ddHTecZdY6VVtjogiZsJ5nX XfLYIkv/Sed4YrHxnYmdc/p1jcAzyyT2ShfcrRbQdIveSpOeGaum7liqDruDPS/hBWba uMFeKzAeNoUorSQ1JOAaLF2E76v38bu15RZsCyJc2lBjVMOUu8EYpTBYf0mjJIvXCxgd 8IPCqw/AJuemC1DRvhP6OGktO4dY9uBohM+aC9dncD48fVZr6Cf2dhcvliHnu/p4US3L +suqOByydDBujoBaBmKcGuaHoWodmQuk4HT1KOQVOy3Xa6t9crAe0PM64Pl4KEzPSzMH dzuQ== X-Received: by 10.107.157.85 with SMTP id g82mr56223083ioe.144.1448917233644; Mon, 30 Nov 2015 13:00:33 -0800 (PST) Received: from localhost.localdomain ([159.203.10.0]) by smtp.gmail.com with ESMTPSA id c5sm8633902igt.9.2015.11.30.13.00.32 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 30 Nov 2015 13:00:33 -0800 (PST) From: Muh Muhten To: alpine-aports@lists.alpinelinux.org Cc: Muh Muhten Subject: [alpine-aports] [PATCH] testing/lua-ljsyscall: new aport Date: Mon, 30 Nov 2015 16:00:27 -0500 Message-Id: <1448917227-99167-1-git-send-email-muh.muhten@gmail.com> X-Mailer: git-send-email 2.4.9 (Apple Git-60) X-Virus-Scanned: ClamAV using ClamSMTP X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: --- testing/lua-ljsyscall/APKBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 testing/lua-ljsyscall/APKBUILD diff --git a/testing/lua-ljsyscall/APKBUILD b/testing/lua-ljsyscall/APKBUILD new file mode 100644 index 0000000..722bbed --- /dev/null +++ b/testing/lua-ljsyscall/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Michael Zuo +# Maintainer: Michael Zuo +pkgname=lua-ljsyscall +pkgver=0.10 +pkgrel=0 +pkgdesc="LuaJIT Unix syscall FFI" +url="http://www.myriabit.com/ljsyscall/" +arch="noarch" +license="MIT" +depends="" +makedepends="luajit" +source="${pkgname#lua-}-$pkgver.tar.gz::https://github.com/justincormack/ljsyscall/archive/v$pkgver.tar.gz" + +_builddir="$srcdir/${pkgname#lua-}-$pkgver" +build() { + cd "$_builddir" + find syscall/* -maxdepth 0 \ + -type d \ + -not -name linux \ + -not -name shared \ + -exec rm -r {} + + # we don't target mips, so no special case + find -H syscall/linux/* -maxdepth 0 \ + -type d \ + -not -name "`luajit -e 'print(jit.arch)'`" \ + -exec rm -r {} + +} + +package() { + cd "$_builddir" + mkdir -p "$pkgdir/usr/share/lua/5.1" + cp -a syscall.lua syscall "$pkgdir/usr/share/lua/5.1" +} + +md5sums="4a9a4ba447ade992e18a598722fce559 ljsyscall-0.10.tar.gz" +sha256sums="9b5ba2b5798c5bc33aa2158f3b44f730de12497c195764aa1bc3d3f1244df198 ljsyscall-0.10.tar.gz" +sha512sums="f2ed03ea2c524e3d8de1d80906b55029c6448cbbd83249c780f0e153875a84fd1af6cf37889242df31c1259cac3cab3ec7bdaf08b26ff75af25406a821b45945 ljsyscall-0.10.tar.gz" -- 2.4.9 (Apple Git-60) --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---