aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-pc/APKBUILD
blob: 4a6f0ca6981487d34e480ad8afe73aa56e502272 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lua-pc
_name=lpc
pkgver=1.0.0
pkgrel=2
pkgdesc="Lua Process Call"
url="http://lua.net-core.org/sputnik.lua?p=Telesto:About"
arch="x86 x86_64"
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"