mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-28 12:02:04 +01:00
An open source solution for working with MIME messages and Internet messaging services like IMAP, POP or SMTP
40 lines
1.2 KiB
Plaintext
40 lines
1.2 KiB
Plaintext
# Maintainer: Noel Kuntze <noel.kuntze@thermi.consulting>
|
|
pkgname=libvmime
|
|
pkgver=0.9.2k4
|
|
pkgrel=0
|
|
pkgdesc="Library for working with RFC 5322, MIME messages and IMAP/POP/SMTP"
|
|
arch="all"
|
|
url="http://www.vmime.org"
|
|
license="GPL-3.0-only"
|
|
# cmake config file isn't suitable for explicitely setting the TLS lib when it finds gnutls
|
|
makedepends="libgsasl-dev openssl-dev cmake gtk+3.0-dev doxygen
|
|
cppunit-dev graphviz !gnutls-dev"
|
|
subpackages="$pkgname-dbg $pkgname-dev"
|
|
source="libvmime-$pkgver.tar.gz::https://github.com/Kopano-dev/vmime/archive/v$pkgver.tar.gz"
|
|
|
|
builddir="$srcdir/vmime-$pkgver"
|
|
|
|
# can't build in other directory because cmake config is broken here.
|
|
# library will not exist at package time.
|
|
build() {
|
|
cmake -DCMAKE_BUILD_TYPE=None \
|
|
-DCMAKE_INSTALL_PREFIX=/usr/ \
|
|
-DVMIME_BUILD_TESTS=ON \
|
|
-DVMIME_TLS_SUPPORT_LIB=openssl -B .
|
|
cmake --build .
|
|
}
|
|
|
|
check() {
|
|
LANG=C.UTF-8 build/bin/run-tests
|
|
}
|
|
|
|
package() {
|
|
#cmake --install . ="$pkgdir"
|
|
make DESTDIR="$pkgdir" install
|
|
mv "$pkgdir/usr/cmake" "$pkgdir/usr/lib/cmake"
|
|
}
|
|
|
|
sha512sums="
|
|
90ebce51151944fe9cf09a8385b4ffe4db199c87e79579f66d70221f45a4bf4b048f3115077cff83536119af40ebe89eddacc301b54b7fb017438f44bd0f273c libvmime-0.9.2k4.tar.gz
|
|
"
|