blob: 03b49413b262c8931ce136824675350dba878683 (
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.26
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="8cd64e591209751a062ad4e08f1d10dd haserl-0.9.26.tar.gz"
|