85cc462e1d
* Moved helpers, common and triggers dirs into xbps-src, where they belong. * Renamed the templates dir to srcpkgs, it was so redundant before. * Make it possible to add subpkgs with no restriction in names, for example udev now has a subpkgs called "libgudev". Previously subpkgs were named "${sourcepkg}-${pkgname}". * xbps-src: changed to look for template files in current directory. That means that most arguments from the targets have been removed. * xbps-src: added a reinstall target, to remove + install. * xbps-src: do not overwrite binpkgs by default, skip them. And more that I forgot because it's a mega-commit that I've been working for some days already... --HG-- extra : convert_revision : 0f466878584d1e6895d2a234f07ea1b2d1e61b3e
28 lines
908 B
Text
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
|
|
}
|