# Recipe for version 4.0.8 by Lucas C. Villa Real <lucasvr@gobolinux.org>, on Thu Jul 5 14:59:52 BRT 2012
# Recipe (MakeRecipe) for Foomatic-DB-Engine by Lucas C. Villa Real, on Mon Feb 26 14:52:22 GMT 2007
compile_version=1.13.1
url="http://www.openprinting.org/download/foomatic/foomatic-db-engine-4.0.8.tar.gz"
file_size=354578
file_md5=5283cd5125a96dc0b35d896326512b1a
recipe_type=configure
part_of=Foomatic

install_variables=(
    PERLPREFIX=$target
    LIBDIR=$target/Shared/foomatic
    LIB_CUPS=$target/lib/cups
)

pre_link() {
    mkdir -p $target/share/cups/driver
    Quiet pushd $target/share/cups/driver
    ln -s $target/bin/foomatic-ppdfile foomatic
    Quiet popd
}
