summaryrefslogblamecommitdiff
path: root/user/mimetic/APKBUILD
blob: 6c3a4c542e96ab8b69f3324ce138d26283aa0230 (plain) (tree)



















































                                                                                                                                                                  
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=mimetic
pkgver=0.9.8
pkgrel=0
pkgdesc="C++ library for processing MIME"
url="http://www.codesink.org/mimetic_mime_library.html"
arch="all"
license="MIT"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"
source="http://www.codesink.org/download/mimetic-$pkgver.tar.gz
	fix-compile.patch
	"

prepare() {
	cd "$builddir"
	default_prepare
	update_config_sub
}

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}
doc() {
	depends="doxygen"
	default_doc
}

sha512sums="4157eecb3e26af314d475c91192a357d6da35271a07a07b037d5037e9af84952ce2636874e86df0e94e8887dcfdb8f594a1ba04e6448181e436b0e2675f48f58  mimetic-0.9.8.tar.gz
26badbaea0e9392080ece1cfda41d16a4fa87850e92edb4120e0a080fcebeeebaf28adb0fc73ba56ecacfc670bc315b2255c9c101471beb09068b1b4c4c8c473  fix-compile.patch"