sed -i '/kerberized/,$ d' conf/cupsd.conf.in
	sed -i 's:555:755:g;s:444:644:g' Makedefs.in
	sed -i '/MAN.*.EXT/s:.gz::g' \
	configure config-scripts/cups-manpages.m4
	sed -i '/LIBGCRYPTCONFIG/d' config-scripts/cups-ssl.m4
	aclocal -I config-scripts
	autoconf -I config-scripts
	CC=gcc \
	./configure --libdir=/usr/lib \
		--disable-systemd \
		--with-rcdir=/tmp/cupsinit \
		--with-system-groups=lpadmin \
		--with-docdir=/usr/share/cups/doc-$surum \
		--disable-libusb
	make
make BUILDROOT=$PKG install
mkdir -p $PKG/etc/udev/rules.d
install -m644 ../99-printer.rules $PKG/etc/udev/rules.d/99-printer.rules