PaganOS Luna 0.6.0
PL EN DE
🔒 Repository is read-only – file editing is disabled.

recipes/utils/libnsl/PAGBUILD.yaml main

35 lines Raw ← Back
1234567891011121314151617181920212223242526272829303132333435
pkgname: libnsl
pkgver: '2.0.1'
pkgrel: '3'
pkgdesc: Contains the public client interface for NIS(YP) and NIS+.
url: 'https://github.com/thkukuk/libnsl'
arch: x86_64
depends:
- libtirpc
makedepends:
- libtool
- rpcsvc-proto
- libtirpc
source:
- 'https://github.com/thkukuk/libnsl/archive/v${pkgver}.tar.gz'
sha256sums:
- 59048b53be8d3904bf939313debf13956a881b0de79da40f7719a77bcd1e9c53
build: |
  cd ${pkgname}-${pkgver}
  autoreconf -fiv

  ./configure --sysconfdir=/etc \
              --disable-static

  make
  make DESTDIR=${PKGDIR} install

  mkdir ${PKGDIR}/lib
  mv ${PKGDIR}/usr/lib/libnsl.so.3* \
  ${PKGDIR}/lib
  ln -sfv ../../lib/libnsl.so.3.0.0 ${PKGDIR}/usr/lib/libnsl.so

  # Obsolet lib
  rm -f ${PKGDIR}/usr/lib/libnsl.la
package: |
  true