summaryrefslogtreecommitdiffstats
path: root/main/libowfat/APKBUILD
blob: 7ac2932f8be44d48e611c291363381e9e3aa8f27 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libowfat
pkgver=0.28
pkgrel=1
pkgdesc="reimplementation of libdjb"
url="http://www.fefe.de/libowfat/"
arch="all"
license="GPL"
depends=
makedepends=
install=
subpackages="$pkgname-dev $pkgname-doc"
source="http://dl.fefe.de/libowfat-$pkgver.tar.bz2"

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

prepare() {
	cd "$_builddir"
}

build() {
	cd "$_builddir"
	make || return 1
}

package() {
	cd "$_builddir"
	make prefix="$pkgdir"/usr MAN3DIR="$pkgdir"/usr/share/man/man3 install
	# buffer manpage conflicts with openssl
	mv "$pkgdir"/usr/share/man/man3/buffer.3 \
		"$pkgdir"/usr/share/man/man3/owfatbuffer.3
}

md5sums="6bbee9a86506419657d87123b7a6f2c1  libowfat-0.28.tar.bz2"