aboutsummaryrefslogtreecommitdiffstats
path: root/main/haserl/APKBUILD
blob: 6c1c743170e998eb28e39a5874996ee572921c7d (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=haserl
pkgver=0.9.27
pkgrel=0
pkgdesc="Html And Shell Embedded Report Language"
url="http://haserl.sourceforge.net/"
license="GPL-2"
depends=
makedepends="lua-dev"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
subpackages="$pkgname-doc"

build() {
	cd "$srcdir/$pkgname-$pkgver"
	sed -i -e 's/^        /\t/' src/Makefile.in || return 1
	./configure --prefix=/usr --with-lua || return 1
	make || return 1
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make DESTDIR="$pkgdir/" install
	chmod 4111 "$pkgdir"/usr/bin/haserl
}

md5sums="1f692db8939858338a44e25d0190aa9e  haserl-0.9.27.tar.gz"