# Description: Print plugin and ghostscript/cups driver (formerly called gimp-print)
# URL:         http://gimp-print.sourceforge.net/
# Maintainer:  Juergen Daubert, jue at crux dot nu
# Depends on:  ghostscript

name=gutenprint
version=5.3.4
release=1
source=(http://downloads.sourceforge.net/project/gimp-print/$name-5.3/$version/$name-$version.tar.xz)

build () {
    cd $name-$version

    CONFIG_SHELL=/bin/bash \
    ./configure --prefix=/usr \
                --disable-nls \
                --disable-samples \
                --disable-libgutenprintui2 \
                --without-gimp2

    make
    make DESTDIR=$PKG install

    rm -r $PKG/usr/share/gutenprint/doc
    rm -r $PKG/usr/share/locale
}
