|
|
@ -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 |
|
|
|
|