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

recipes/utils/libtirpc/PAGBUILD.yaml main

36 lines Raw ← Back
123456789101112131415161718192021222324252627282930313233343536
pkgname: libtirpc
pkgver: '1.3.8'
pkgrel: '1'
pkgdesc: Transport Independent RPC library (SunRPC replacement)
url: 'http://downloads.sourceforge.net/project/libtirpc'
arch: x86_64
license:
- BSD
depends: []
makedepends: []
source:
- 'https://downloads.sourceforge.net/libtirpc/libtirpc-${pkgver}.tar.bz2'
sha256sums:
- 8839959bfcc7a0f4c609d8e4f53f1c67ae33de23775ec35beb39ff15adf11920
build: |
  cd libtirpc-${pkgver}


  ./configure --prefix=/usr     \
              --sysconfdir=/etc \
              --disable-static  \
              --disable-gssapi

  make
  make pkgconfigdir=/usr/lib/pkgconfig DESTDIR=${PKGDIR} install
  chown -R root:root ${PKGDIR}
  mkdir -p ${PKGDIR}/lib
  mv -v ${PKGDIR}/usr/lib/libtirpc.so.* ${PKGDIR}/lib
  ln -sfv ../../lib/libtirpc.so.3.0.0 ${PKGDIR}/usr/lib/libtirpc.so

  # Obsolet lib
  rm -f ${PKGDIR}/usr/lib/libtirpc.la

  install -Dm644 COPYING ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING
package: |
  true