mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-23 14:42:26 +02:00
44 lines
1.2 KiB
Plaintext
44 lines
1.2 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=rpcbind
|
|
pkgver=0.2.0
|
|
pkgrel=1
|
|
pkgdesc="portmap replacement which supports RPC over various protocols"
|
|
url="http://rpcbind.sourceforge.net"
|
|
arch="all"
|
|
license="custom"
|
|
depends=
|
|
makedepends="libtirpc-dev"
|
|
subpackages="$pkgname-doc"
|
|
source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2
|
|
0001-uclibc-nss.patch
|
|
0002-uclibc-rpcsvc-defines.patch
|
|
rpcbind.initd
|
|
rpcbind.confd"
|
|
|
|
_builddir="$srcdir"/$pkgname-$pkgver
|
|
prepare() {
|
|
cd "$_builddir"
|
|
for i in "$srcdir"/*.patch; do
|
|
patch -p1 -i "$i" || return 1
|
|
done
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
./configure --prefix=/usr --bindir=/sbin
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
install -Dm755 "$srcdir"/rpcbind.initd "$pkgdir"/etc/init.d/rpcbind
|
|
install -Dm644 "$srcdir"/rpcbind.confd "$pkgdir"/etc/conf.d/rpcbind
|
|
install -D -m644 COPYING "$pkgdir"/usr/share/licenses/rpcbind/COPYING
|
|
}
|
|
md5sums="1a77ddb1aaea8099ab19c351eeb26316 rpcbind-0.2.0.tar.bz2
|
|
6d9718d8bdab633ef7cf83225aaed367 0001-uclibc-nss.patch
|
|
944234c5ef6902d25bd6dfc95f979ed6 0002-uclibc-rpcsvc-defines.patch
|
|
381a2722c69b4597af532381f1ffeae0 rpcbind.initd
|
|
1ad5c8dcf432c8f23ba740f4c32a7c60 rpcbind.confd"
|