blob: 664e326047838ed6fe7051966ce16697b2c3826d (
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
36
37
38
39
40
41
42
43
44
45
|
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Maintainer: Valery Kartel <valery.kartel@gmail.com>
pkgname=libnsl
pkgver=1.2.0
pkgrel=0
pkgdesc="Public client interface for NIS(YP) and NIS+ in a IPv6 ready version"
url="https://github.com/thkukuk/libnsl"
arch="all"
license="LGPL-2.0-or-later"
makedepends="autoconf automake libtool libc-dev gettext-dev libtirpc-dev file"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/thkukuk/$pkgname/archive/v$pkgver.tar.gz
nis_h.patch
cdefs.patch
"
builddir="$srcdir/$pkgname-$pkgver"
check() {
cd "$builddir"
make check
}
prepare() {
default_prepare
cd "$builddir"
./autogen.sh
}
build() {
cd "$builddir"
./configure LIBS="-lintl" \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="30115aa679a04ad01f55cff9dd1890b4c41c730a9bac2adab5add9ae03a0b4687c5f4b6e3b8652ecbb074eefac8faee3f1f13ea60d42cf4432db8a575ca72cd8 libnsl-1.2.0.tar.gz
bd120e3f8753c716c78484a9804a6314e6335bb1196cd4d456080eeee0b964a856f573885eff318725d1f0fab6a0092645e60a19602bf3f83983d53a0ee3c303 nis_h.patch
d50a072d8bd42822d2c9c7e99d29e3a93e1df16a77ce46355b3e73268999e7b0cac6d39f214a28a81ac793a1fd672a39bf9fbdc9acc9a49760ab101d27c0eefc cdefs.patch"
|