40 lines
1.1 KiB
Bash
40 lines
1.1 KiB
Bash
# Template file for 'uucp'
|
|
pkgname=uucp
|
|
version=1.07
|
|
revision=1
|
|
build_style=gnu-configure
|
|
conf_files="/etc/uucp/config /etc/uucp/sys1 /etc/uucp/port"
|
|
makedepends="wget"
|
|
short_desc="Taylor UUCP is a free implementation of UUCP"
|
|
maintainer="MarcoAPC <marcoaureliopc@gmail.com>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://www.gnu.org/software/uucp/uucp.html"
|
|
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.gz"
|
|
checksum=060c15bfba6cfd1171ad81f782789032113e199a5aded8f8e0c1c5bd1385b62c
|
|
patch_args="-Np1"
|
|
|
|
system_accounts="_uucp"
|
|
_uucp_homedir="/var/spool/uucp"
|
|
|
|
make_dirs="
|
|
/var/spool/uucp 0750 uucp uucp
|
|
/var/spool/uucppublic 0750 uucp uucp"
|
|
|
|
pre_configure() {
|
|
sed -i 's|${CC-cc} -E|${CC-cc} -E|g' configure
|
|
}
|
|
do_install() {
|
|
make DESTDIR=${DESTDIR} install
|
|
vmkdir etc/uucp/
|
|
vinstall sample/config 0644 etc/uucp/
|
|
vinstall sample/sys1 0644 etc/uucp/
|
|
vinstall sample/port 0644 etc/uucp/
|
|
sed -i 's|\$\*|"$@"|' ${DESTDIR}/usr/bin/{uuto,uusched}
|
|
chmod u+w ${DESTDIR}/usr/bin/*
|
|
vman ${FILESDIR}/uulog.1
|
|
vman ${FILESDIR}/uuname.1
|
|
vman ${FILESDIR}/uupick.1
|
|
vman ${FILESDIR}/uuto.1
|
|
vman ${FILESDIR}/uusched.8
|
|
}
|