talimat 911 B

12345678910111213141516171819202122232425262728293031
  1. # Description: Transport Independent RPC library (SunRPC replacement)
  2. # URL: http://downloads.sourceforge.net/project/libtirpc
  3. # Maintainer: Gilles Quillard gilles dot quillard at bull dot net,
  4. # Packager: pierre at nutyx dot org, tnut at nutyx dot org
  5. name=libtirpc
  6. version=0.3.2
  7. release=1
  8. source=(http://downloads.sourceforge.net/project/libtirpc/libtirpc/$version/libtirpc-$version.tar.bz2
  9. http://www.linuxfromscratch.org/patches/downloads/$name/$name-$version-api_fixes-1.patch)
  10. build()
  11. {
  12. cd libtirpc-$version
  13. patch -Np1 -i ../libtirpc-$version-api_fixes-1.patch
  14. ./configure --prefix=/usr \
  15. --sysconfdir=/etc \
  16. --disable-static \
  17. --disable-gssapi
  18. make
  19. make pkgconfigdir=/usr/lib/pkgconfig DESTDIR=$PKG install
  20. chown -R root:root $PKG
  21. mkdir -p $PKG/lib
  22. mv -v $PKG/usr/lib/libtirpc.so.* $PKG/lib
  23. ln -sfv ../../lib/libtirpc.so.1.0.10 $PKG/usr/lib/libtirpc.so
  24. }