mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-07 00:42:07 +01:00
38 lines
897 B
Plaintext
38 lines
897 B
Plaintext
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
# Maintainer:
|
|
pkgname=nsss
|
|
pkgver=0.1.0.1
|
|
pkgrel=0
|
|
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
|
|
"
|