aboutsummaryrefslogtreecommitdiffstats
path: root/main/libmowgli/APKBUILD
blob: 544d98254a6fc5c406a4372930840a679fd836df (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
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=libmowgli
pkgver=0.9.95
pkgrel=0
pkgdesc="mowgli is a framework designed to reduce writing of boilerplate code"
url="http://atheme.org/project/mowgli"
arch="all"
license="ISC"
depends=
makedepends=
install=
subpackages="$pkgname-dev"
source="http://distfiles.atheme.org/$pkgname-$pkgver.tar.bz2"

_builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	cd "$_builddir"
	# workaround bug in busybox
	sed -e "/touch/s/0001010000/200001010000/g" \
		-i configure
}

build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install
}

md5sums="9833b5845e60fe965924be4a15a30374  libmowgli-0.9.95.tar.bz2"