opt/rpcbind/Pkgfile

29 lines
783 B
Plaintext
Raw Normal View History

2010-06-15 20:03:29 +02:00
# Description: Server that converts RPC program numbers into universal addresses
# URL: http://sourceforge.net/projects/rpcbind/
# Maintainer: Juergen Daubert, jue at crux dot nu
2015-06-27 17:39:22 +02:00
# Depends on: libtirpc
2010-06-15 20:03:29 +02:00
name=rpcbind
2015-04-28 12:22:36 +02:00
version=0.2.3
2015-06-27 17:39:22 +02:00
release=2
source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.bz2 \
2015-11-04 10:33:33 +01:00
$name-$version.patch rpcbind)
2010-06-15 20:03:29 +02:00
build() {
cd $name-$version
2015-11-04 10:33:33 +01:00
patch -p1 -i $SRC/$name-$version.patch
2010-06-15 20:03:29 +02:00
./configure --prefix=/usr \
--bindir=/sbin \
--mandir=/usr/man \
2015-06-27 17:39:22 +02:00
--disable-libwrap \
2014-11-30 12:11:32 +01:00
--with-rpcuser=root \
--without-systemdsystemunitdir
2015-11-04 10:33:33 +01:00
2010-06-15 20:03:29 +02:00
make
make DESTDIR=$PKG install
2015-11-04 10:33:33 +01:00
2010-06-15 20:03:29 +02:00
install -D -m 755 $SRC/rpcbind $PKG/etc/rc.d/rpcbind
}