# t1lib, ftp://ftp.foolabs.com/pub/xpdf/

name=t1lib
version=5.1.0
release=1
source=(ftp://ftp.foolabs.com/pub/xpdf/$name-$version.tar.gz)

build() {
    cd $name-$version
    ./configure \
	--prefix=/usr \
	--disable-static \
	--disable-nls
    make without_doc
    make prefix=$PKG/usr install
    rm -rf $PKG/usr/share{,/$name}/doc
    chmod 755 $PKG/usr/lib/*
}
