crux-ports

My CRUX Linux ports
Log | Files | Refs | README

Pkgfile (729B)


      1 # Description: A C/C++ MIME creation and parser library with support for Unix mbox spools
      2 # URL: https://github.com/jstedfast/gmime
      3 # Maintainer: Shokara Kou, kou at 13f0 dot net
      4 # Packager: Tim Biermann, tbier at posteo dot de
      5 # Depends on:
      6 
      7 name=gmime3
      8 version=3.2.15
      9 release=2
     10 source=(https://github.com/jstedfast/gmime/releases/download/$version/gmime-$version.tar.xz)
     11 
     12 build() {
     13 	cd gmime-$version
     14 
     15 	./configure \
     16 	        --prefix=/usr \
     17 		--program-prefix=gmime3 \
     18 		--disable-crypto \
     19 		--disable-introspection \
     20 		--disable-smime \
     21 		--disable-gtk-doc \
     22 		--disable-static \
     23 		--without-libidn
     24 	sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
     25 	make
     26 	make DESTDIR=$PKG install
     27 	
     28 	rm -rf $PKG/usr/share/gtk-doc
     29 }