blob: c310926e0cc8154e420fd66dd3f1fd3d40482627 (
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.6
pkgrel=0
pkgdesc="ACF for provisioning templated configs to devices"
url="http://git.alpinelinux.org/cgit/acf-provisioning"
arch="noarch"
license="GPL2"
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="93517d515666fb237ab36e1814a7ba42 acf-provisioning-0.8.6.tar.xz"
sha256sums="b04febf512c5c8749d6b7dc4d77b0f50c4f3d18afd798e6286f7fd7d99133514 acf-provisioning-0.8.6.tar.xz"
sha512sums="ed9b0fb8e9d96853a5605609d2e4eaf46b128adf72832994fc93d54b6d2bdca708ce3cd42b8c1bbe8bd03aeb4b5c334be6c027e74b667da4d72e4820b3de7179 acf-provisioning-0.8.6.tar.xz"
|