# Description: Public client interface library for NIS(YP) and NIS+ from glibc
# URL: https://github.com/thkukuk/libnsl
# Maintainer: CRUX System Team, core-ports at crux dot nu

name=libnsl
version=2.0.1
release=1
source=(https://github.com/thkukuk/libnsl/releases/download/v$version/$name-$version.tar.xz)

build() {
    cd $name-$version

    autoreconf -fi
    ./configure --prefix=/usr
    make
    make DESTDIR=$PKG install
}
