diff --git a/package/rene/cups/cups.conf b/package/rene/cups/cups.conf index ef8e871c7..0ffe2d0f9 100644 --- a/package/rene/cups/cups.conf +++ b/package/rene/cups/cups.conf @@ -20,15 +20,20 @@ # # --- ROCK-COPYRIGHT-NOTE-END --- -cups_pm() { +cups_pm(){ install_init cups $confdir/cups.init -} -srctar="cups-$ver-source.tar.bz2" -postmake=cups_pm + # cups is too stupid to create the ../tmp dir itself - only + # needed for some ipp transfers (...?) -ReneR + mkdir -p $root/var/spool/cups/tmp + chown daemon:daemon $root/var/spool/cups/tmp +} -confopt="$copfopt --with-logdir=/var/cups/log --with-cups-user=daemon --with-cups-group=daemon" +var_append copfopt "--with-logdir=/var/cups/log + --with-cups-user=daemon --with-cups-group=daemon" # Force same compiler version for C and C++ export CC="${CXX/[cg]++/gcc}" +hook_add postmake 5 cups_pm +