29 lines
739 B
Bash
29 lines
739 B
Bash
# Template file for 'libnsl'
|
|
pkgname=libnsl
|
|
version=2.0.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config automake m4 libtool gettext-devel"
|
|
makedepends="libtirpc-devel"
|
|
short_desc="Public client interface for NIS(YP) and NIS+"
|
|
maintainer="Andrew Benson <abenson+void@gmail.com>"
|
|
license="LGPL-2.1-only"
|
|
homepage="https://github.com/thkukuk/libnsl"
|
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
|
checksum=59048b53be8d3904bf939313debf13956a881b0de79da40f7719a77bcd1e9c53
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
libnsl-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|