diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/luasocket/APKBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/main/luasocket/APKBUILD b/main/luasocket/APKBUILD new file mode 100644 index 0000000000..b5edf4595b --- /dev/null +++ b/main/luasocket/APKBUILD @@ -0,0 +1,25 @@ +# Contributor: Mika Havela <mika.havela@gmail.com> +# Maintainer: Mika Havela <mika.havela@gmail.com> +pkgname=luasocket +pkgver=2.0.2 +pkgrel=0 +pkgdesc="Luasocket is the most comprehensive networking support library for the Lua language." +url="http://luaforge.net/projects/luasocket/" +license="MIT" +depends="lua" +makedepends="lua-dev" +install= +source="http://luaforge.net/frs/download.php/2664/$pkgname-$pkgver.tar.gz" + +build() { + cd "$srcdir/$pkgname-$pkgver" + make || return 1 +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make INSTALL_TOP_SHARE="$pkgdir/usr/share/lua/5.1" INSTALL_TOP_LIB="$pkgdir/usr/lib/lua/5.1" install + +} + +md5sums="41445b138deb7bcfe97bff957503da8e luasocket-2.0.2.tar.gz" |