blob: cbe2b64240fd9a87c23ac667e60cc885f2600028 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libtirpc
pkgver=0.2.1
pkgrel=0
pkgdesc="Transport Independent RPC library (SunRPC replacement)"
url="http://libtirpc.sourceforge.net/"
license="GPL2"
depends=
makedepends="libgssglue-dev heimdal-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2
nis.h"
depends_dev="libgssglue-dev heimdal-dev"
prepare() {
cd "$srcdir"/$pkgname-$pkgver
# uclibc does not provide nis.h so provide our own
mkdir src/rpcsvc
cp "$srcdir"/nis.h src/rpcsvc/
}
build() {
cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr \
--enable-gss
make || return 1
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR="$pkgdir" install || return 1
install -D -m644 doc/etc_netconfig "$pkgdir"/etc/netconfig
}
md5sums="d77eb15f464bf9d6e66259eaf78b2a4e libtirpc-0.2.1.tar.bz2
082dff1bc78bdcbac6d305c1534fe3c0 nis.h"
|