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

                                                         







                                                       
                     


                                                               
                        


           




                         










                                         



                  

                                      

                                                                                                                                                                  

                                                                                                                                                   
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
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() {
	default_prepare
	update_config_sub
}

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

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

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