aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-pc/APKBUILD
blob: 0c2c79f917fe120459c710a26b88065074037c4d (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="all"
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"