blob: 9bcaa5e3d8340c22fe15c43ae024c8ce6e585120 (
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
|
# Contributor: Ted Trask <ttrask01@yahoo.com>
# Maintainer: Ted Trask <ttrask01@yahoo.com>
_luaversion=5.2
pkgname=acf-provisioning
pkgver=0.8.2
pkgrel=0
pkgdesc="ACF for provisioning templated configs to devices"
url="http://git.alpinelinux.org/cgit/acf-provisioning"
arch="noarch"
license="GPL-2"
depends="acf-core lua lua-sql-postgres postgresql-client lua-posixtz"
makedepends=""
install=""
subpackages=""
source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.xz"
package() {
cd "$srcdir"/$pkgname-$pkgver
# fix shebang
sed -i -e "1s:#!/usr/bin/haserl :#!/usr/bin/haserl-lua$_luaversion :" \
cgi-bin/provisioning.cgi || return 1
make DESTDIR="$pkgdir" install
}
md5sums="844467696b64f05d179568afbb9b492d acf-provisioning-0.8.2.tar.xz"
sha256sums="ce88fc4bdfd749e1c04b239b9d092ed9940fa1dd1aeab6dd01d39c2f261b362a acf-provisioning-0.8.2.tar.xz"
sha512sums="f44a32725eb93c88ca04f590de2c572d2e968a976cbde4e6159093249cd67401f1421afaf53499ba0aa4a12ed24ef6da725fce1a2988d2b331fe9bc4b27ac513 acf-provisioning-0.8.2.tar.xz"
|