mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 07:37:14 +08:00
33 lines
940 B
Bash
33 lines
940 B
Bash
#
|
|
# Core Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=rpcbind
|
|
pkgver=0.2.0
|
|
pkgrel=3
|
|
pkgdesc="portmap replacement which supports RPC over various protocols"
|
|
arch=(i686 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)
|
|
md5sums=('1a77ddb1aaea8099ab19c351eeb26316'
|
|
'78a963654f57cbb209e228884767836e')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
package() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
make DESTDIR=$pkgdir install
|
|
# install daemon
|
|
install -D -m755 $srcdir/rpcbind $pkgdir/etc/rc.d/rpcbind
|
|
# install license
|
|
install -D -m644 COPYING $pkgdir/usr/share/licenses/rpcbind/COPYING
|
|
}
|