summaryrefslogtreecommitdiffstats
path: root/testing/lua-augeas/APKBUILD
blob: f8748cc6a4740427dfe2b18771c09191c052ac56 (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
26
27
28
29
30
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lua-augeas
pkgver=0.1
pkgrel=2
pkgdesc="Lua bindings for Augeas"
url="http://git.alpinelinux.org/cgit/lua-augeas/"
arch="all"
license="LGPL"
depends=
makedepends="lua-dev pkgconfig augeas-dev"
install=
subpackages=
source="http://git.alpinelinux.org/cgit/lua-augeas.git/snapshot/lua-augeas-$pkgver.tar.bz2"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	cd "$_builddir"
}

build() {
	cd "$_builddir"
	make CFLAGS="${CFLAGS} -fPIC" || return 1
}

package() {
	cd "$_builddir"
	install -D augeas.so "$pkgdir"/usr/lib/lua/5.1/augeas.so
}

md5sums="7b25097b785ee6b2dc09f0bb69a30a6b  lua-augeas-0.1.tar.bz2"