aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-pc/APKBUILD
blob: 9b1b38916b58e4bcd987757e1082074eab72c97c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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"
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"