# Tanım: Outlook .pst dosya çeviricisi
# URL: http://www.five-ten-sg.com/libpst/
# Paketçi: yasarciv67
# Gerekler: python boost libgsf
# Grup: kütüphane

isim=libpst
surum=0.6.72
devir=1

kaynak=(http://www.five-ten-sg.com/libpst/packages/${isim}-${surum}.tar.gz)

derle() {
	cd $isim-$surum
	./configure --prefix=/usr --mandir=/usr/share/man \
	--disable-static --enable-libpst-shared --disable-dii PYTHON_VERSION=2
	sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
	make
	make DESTDIR=$PKG install
	find $PKG/ -name *.la -exec rm {} \;
	rm -rf $PKG/usr/share/doc
}
