28 lines
747 B
Plaintext
28 lines
747 B
Plaintext
# Description: Server that converts RPC program numbers into universal addresses
|
|
# URL: http://sourceforge.net/projects/rpcbind/
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
# Depends on: libtirpc
|
|
|
|
name=rpcbind
|
|
version=0.2.3
|
|
release=3
|
|
source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.bz2 \
|
|
$name-$version.patch rpcbind)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
patch -p1 -i $SRC/$name-$version.patch
|
|
|
|
./configure --prefix=/usr \
|
|
--bindir=/sbin \
|
|
--disable-libwrap \
|
|
--with-rpcuser=root \
|
|
--without-systemdsystemunitdir
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
install -D -m 755 $SRC/rpcbind $PKG/etc/rc.d/rpcbind
|
|
}
|