blob: 5cf68805e91c446c11d92d041a7958de4db2f2b6 (
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
|
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=nsss
pkgver=0.1.0.1
pkgrel=1
pkgdesc=" A small and statically linkable alternative to Name Service Switch"
url="https://skarnet.org/software/nsss"
arch="all"
license="ISC"
makedepends="skalibs-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://skarnet.org/software/nsss/nsss-$pkgver.tar.gz"
build() {
./configure \
--enable-shared \
--enable-static \
--disable-allstatic \
--prefix=/usr \
--libdir=/usr/lib \
--libexecdir="/usr/lib/$pkgname" \
--with-dynlib=/lib
make
}
package() {
make DESTDIR="$pkgdir" install
}
doc() {
default_doc
mkdir -p "$subpkgdir/usr/share/doc"
cp -a "$builddir/doc" "$subpkgdir/usr/share/doc/$pkgname"
}
sha512sums="
c7f239003377e5c539380f4bb9168f02107dc12bf6e72a1e4a034386fd254432ce0c833205aa5ec29689c0e4732a86dba2cf5a2610da16c7f4146428b6dd78ba nsss-0.1.0.1.tar.gz
"
|