void-packages/srcpkgs/lprng/template
Jürgen Buchmüller b7a05f2fe9 lprng: needs -fcommon for gcc10
[ci skip]
2020-08-28 18:25:36 +02:00

26 lines
722 B
Bash

# Template file for 'lprng'
pkgname=lprng
version=3.8.C
revision=1
build_style=gnu-configure
configure_args="--with-userid=_lprng --with-groupid=_lprng"
short_desc="Enhanced Printer Spooler"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="GPL-2.0-only"
homepage="http://lprng.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/lprng/lprng/lprng-${version}.tar.gz"
checksum=694a1747a96385b89e93f43343bf35cee5c8c73353a83814106911c99f09de10
system_accounts="_lprng"
conflicts="cups>=0"
conf_files="/etc/lpd/* /etc/printcap"
CFLAGS="-fcommon"
export CLEAR=no
post_install() {
mv ${DESTDIR}/etc/printcap{.sample,}
mv ${DESTDIR}/etc/lpd/lpd.conf{.sample,}
mv ${DESTDIR}/etc/lpd/lpd.perms{.sample,}
vsv lprng
}