summaryrefslogblamecommitdiff
path: root/user/mimetic/APKBUILD
blob: c69f27270d8b5b49bf1d17065206ecb4b0373a98 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                           
                     


                                                               
                        




























                                         

                                                                                                                                                                  

                                                                                                                                                   
# 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=""
makedepends="doxygen"
subpackages="$pkgname-dev"
source="http://www.codesink.org/download/mimetic-$pkgver.tar.gz
	fix-compile.patch
	signedness.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
}

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