diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-07 17:37:47 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-07 17:37:47 +0000 |
commit | fb325c5c69d72a9eed14cad33068153c72b60426 (patch) | |
tree | 0ef06871aec4bf00bb94043b21f30c1c4808fb25 /main/lua-pc/APKBUILD | |
parent | 867556634decf41c9303f30cd4dc74c2da7d8f65 (diff) | |
download | aports-fb325c5c69d72a9eed14cad33068153c72b60426.tar.bz2 aports-fb325c5c69d72a9eed14cad33068153c72b60426.tar.xz |
main/lua-pc: renamed from lpc
Diffstat (limited to 'main/lua-pc/APKBUILD')
-rw-r--r-- | main/lua-pc/APKBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/main/lua-pc/APKBUILD b/main/lua-pc/APKBUILD new file mode 100644 index 0000000000..856432058d --- /dev/null +++ b/main/lua-pc/APKBUILD @@ -0,0 +1,24 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=lua-pc +_name=lpc +pkgver=1.0.0 +pkgrel=1 +pkgdesc="Lua Process Call" +url="http://lua.net-core.org/sputnik.lua?p=Telesto:About" +license="MIT/X11" +makedepends="lua-dev" +depends="lua" +source="http://lua.net-core.org/dl/telesto/lpc-$pkgver.tar.gz" + +build() { + cd "$srcdir/$_name-$pkgver" + make CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS -shared" +} + +package() { + cd "$srcdir/$_name-$pkgver" + # does not respect DESTDIR + make install PREFIX="$pkgdir"/usr +} + +md5sums="d1516818de2d94ea0c9d748726cf0d72 lpc-1.0.0.tar.gz" |