void-packages/templates/portmap/template
Juan RP 9a3f2e7c3d Handle openrc_services more gracefully.
1) There's no need to specify the trigger anymore.
2) There's no need to add the OpenRC run dependency anymore.

Just specifying $openrc_services is enough.

--HG--
extra : convert_revision : 34e4d6d37a07a18837ef2216474ee0ca6fd55124
2009-05-14 21:26:44 +02:00

28 lines
908 B
Text

# Template file for 'portmap'
pkgname=portmap
version=6.0
revision=2
wrksrc="${pkgname}_${version}"
distfiles="http://neil.brown.name/$pkgname/$pkgname-$version.tgz"
build_style=gnu_makefile
make_install_target="BASEDIR=$XBPS_DESTDIR/$pkgname-$version install"
short_desc="RPC connection manager"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=02c820d39f3e6e729d1bea3287a2d8a6c684f1006fb9612f97dcad4a281d41de
long_desc="
portmap is a part of the ONCRPC collection of software for implementing
remote procedure calls between computer programs. It is use widely by NFS
and NIS, and assorted other systems."
openrc_services="portmap default"
Add_dependency full glibc
Add_dependency build tcp_wrappers
Add_dependency run tcp_wrappers-libs
post_install()
{
# Install the OpenRC service.
install -D -m755 ${FILESDIR}/portmap.rc ${DESTDIR}/etc/init.d/portmap
install -d ${DESTDIR}/var/chroot/portmap
}