contrib/gmime3/Pkgfile

25 lines
687 B
Plaintext

# Description: A C/C++ MIME creation and parser library with support for S/MIME, PGP, and Unix mbox spools
# URL: https://github.com/jstedfast/gmime
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: gpgme gtk-doc libidn2
name=gmime3
version=3.2.15
release=1
source=(https://github.com/jstedfast/gmime/archive/$version/$name-$version.tar.gz)
build() {
cd gmime-$version
NOCONFIGURE=1 ./autogen.sh
./configure --prefix=/usr \
--program-prefix=gmime3 \
--enable-crypto \
--enable-smime \
--disable-gtk-doc \
--disable-static \
--disable-largefile
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
make DESTDIR=$PKG install
}