summaryrefslogtreecommitdiffstats
path: root/main/lpc/APKBUILD
blob: ad303c0ad7eb853529d9c043c24b81e5129ff2ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=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/$pkgname-$pkgver"
	make CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS -shared"
	# does not respect DESTDIR
	make install PREFIX="$pkgdir"/usr
}

md5sums="d1516818de2d94ea0c9d748726cf0d72  lpc-1.0.0.tar.gz"