diff options
Diffstat (limited to 'libnsl/MAKEPKG')
| -rw-r--r-- | libnsl/MAKEPKG | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/libnsl/MAKEPKG b/libnsl/MAKEPKG new file mode 100644 index 0000000..d89cfd9 --- /dev/null +++ b/libnsl/MAKEPKG | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | #!/bin/mkpkg | ||
| 2 | # description: Public client interface library for NIS(YP) and NIS+ from glibc | ||
| 3 | # url: https://github.com/thkukuk/libnsl | ||
| 4 | |||
| 5 | name=libnsl | ||
| 6 | version=2.0.1 | ||
| 7 | release=1 | ||
| 8 | depends=(libtirpc) | ||
| 9 | makedeps=(autoconf) | ||
| 10 | source=(https://github.com/thkukuk/libnsl/releases/download/v$version/$name-$version.tar.xz) | ||
| 11 | |||
| 12 | sha256sums=( | ||
| 13 | "5c9e470b232a7acd3433491ac5221b4832f0c71318618dc6aa04dd05ffcd8fd9" | ||
| 14 | ) | ||
| 15 | |||
| 16 | build() { | ||
| 17 | cd $name-$version | ||
| 18 | |||
| 19 | ./configure --prefix=/usr | ||
| 20 | |||
| 21 | make | ||
| 22 | make DESTDIR=$PKG install | ||
| 23 | |||
| 24 | rm -f $PKG/usr/lib/*.la | ||
| 25 | } | ||
| 26 | |||
| 27 | # vim: filetype=sh | ||