mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 07:17:23 +08:00
39 lines
1.0 KiB
Bash
39 lines
1.0 KiB
Bash
#
|
|
# Core Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer Samir Benmendil <ram-z[at]chakra-project[dot]org>
|
|
# maintainer abveritas[at]chakra-project[dot]org>
|
|
|
|
pkgname=rpcbind
|
|
pkgver=0.2.0
|
|
pkgrel=5
|
|
pkgdesc="portmap replacement which supports RPC over various protocols"
|
|
arch=('x86_64')
|
|
depends=('bash' 'glibc' 'libtirpc')
|
|
url="http://rpcbind.sourceforge.net"
|
|
license=('custom')
|
|
source=("http://downloads.sourceforge.net/sourceforge/rpcbind/rpcbind-0.2.0.tar.bz2"
|
|
'rpcbind-sunrpc.patch'
|
|
'rpcbind.service')
|
|
md5sums=('1a77ddb1aaea8099ab19c351eeb26316'
|
|
'c02ac36a98baac70b8a26190524b7b73'
|
|
'a7b23a32be2eb52d7dec52da36d4eba1')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
|
|
patch -p1 -i ../rpcbind-sunrpc.patch
|
|
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
package() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
|
|
make DESTDIR=$pkgdir install
|
|
# install systemd service file
|
|
install -D -m644 $srcdir/rpcbind.service $pkgdir/usr/lib/systemd/system/rpcbind.service
|
|
# install license
|
|
install -D -m644 COPYING $pkgdir/usr/share/licenses/rpcbind/COPYING
|
|
}
|