blob: cca07e01a2cf7ad20da4d6e87cfd6f292f2f719c (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Maintainer: Timo Teras <timo.teras@iki.fi>
pkgname=squark
pkgver=0.6
pkgrel=1
pkgdesc="Squark - Squid User Authentication and Rating Kit"
subpackages=
depends="haserl"
makedepends="net-snmp-dev cmph-dev lua-dev pkgconfig"
source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.xz
0001-fix-missing-symbols-from-lua-module.patch
"
url="http://git.alpinelinux.org/cgit/squark/"
arch="all"
license=GPL-2
install="$pkgname.post-install"
prepare() {
cd "$srcdir"
ln -s squark-master $pkgname-$pkgver
cd "$srcdir/$pkgname-$pkgver"
sed -i -e 's:-Werror::' Make.rules
for i in $source; do
case $i in
*.patch) patch -p1 -i "$srcdir"/$i || return 1
esac
done
sed -i -e 's:lua5.1:lua:g' "$srcdir"/"$pkgname-$pkgver"/src/Makefile
}
build() {
cd "$srcdir/$pkgname-$pkgver"
make FULL_VERSION="$pkgver-r$pkgrel" || return 1
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make FULL_VERSION="$pkgver-r$pkgrel" DESTDIR="$pkgdir" install
}
md5sums="8e34e77741ec043362b5554b58206ae1 squark-0.6.tar.xz
ab48c3bfff96eac6a47267a0ad214363 0001-fix-missing-symbols-from-lua-module.patch"
sha256sums="6349f7b2d840712ef3f0f0eb32cbed4d53ede586a06f42807f1cfda888fd2952 squark-0.6.tar.xz
464dcdaf0cb870686dd440b33308a86a44fc14510c1b38c83c561a3e0d492331 0001-fix-missing-symbols-from-lua-module.patch"
sha512sums="ba671d961b1b2d3026625b21336369e3b3dedc867dd8f68e85db3badcdb13afae8565a068e9337de6ba909c8780ff5ff0e59e4bab42f7f02a415f396654ead19 squark-0.6.tar.xz
8824afa6f576f6e0f39381ba52874c6d17a1e4d5db6af6539b54d4aeb6ec85abf6324eb9f1cbee0a40b34cc3fd9c207a25726e6d21f02e9b4f50513f488c0dc0 0001-fix-missing-symbols-from-lua-module.patch"
|