aboutsummaryrefslogtreecommitdiffstats
path: root/testing/chmlib/APKBUILD
blob: f96ed771a3c3e6943aa96cb853c20bceaf595fea (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
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=chmlib
pkgver=0.40
pkgrel=1
pkgdesc="Library for dealing with Microsoft ITSS/CHM format files"
url="http://morte.jedrea.com/~jedwin/projects/chmlib/"
arch="all"
license="LGPL"
depends=
depends_dev=
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"
source="http://morte.jedrea.com/~jedwin/projects/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$_builddir"
	./configure --prefix=/usr
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la
}

md5sums="7ea49ed8c335215c1edc6fae83e6b912  chmlib-0.40.tar.bz2"