aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libmcs/APKBUILD
blob: f936d8cfe1cfc318b4e85150d901b6668aa27f7a (plain) (blame)
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
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=libmcs
pkgver=0.7.2
pkgrel=0
pkgdesc="library for configuration system abstraction"
url="http://atheme.org/project/mcs"
arch="all"
license="ISC"
depends=
makedepends="libmowgli-dev"
install=
subpackages="$pkgname-dev"
source="http://distfiles.atheme.org/$pkgname-$pkgver.tgz"

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

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="c47fc81f3efacaa0a5a0b8fd14f9d48e  libmcs-0.7.2.tgz"