#Packager: Imar van Erven Dorens #Former Packager(s): None pkgname=libvmime pkgver=0.7.1 pkgrel=1ived source=("http://downloads.sourceforge.net/project/vmime/vmime/0.7/libvmime-0.7.1.tar.bz2" "http://developer.zarafa.com/download/zarafa-vmime-patches.tar.gz") sourcetemplate=http://people.salixos.org/imar/$pkgname/$pkgver/ docs=("authors" "changelog" "copying" "hacking" "install" "news" "readme" "patches") url="http://www.vmime.org/" slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "libvmime (free mail library for C++)" "An open-source solution for working with MIME messages and Internet" "messaging services like IMAP, POP or SMTP." "NOTE: This package includes patches to make it compatible with Zarafa" ) build() { cd $startdir/src/$pkgname-$pkgver for i in $(ls -1rt ../vmime*.diff); do patch -p1 < $i; done ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --build=$arch-slackware-linux make docdir=/usr/doc/$pkgname-$pkgver || return 1 make install docdir=/usr/doc/$pkgname-$pkgver DESTDIR=$startdir/pkg }