# Description: Transport Independent RPC library (SunRPC replacement) # URL: http://downloads.sourceforge.net/project/libtirpc # Packager: milisarge # Depends on: name=libtirpc version=0.3.2 release=1 source=(http://downloads.sourceforge.net/project/libtirpc/libtirpc/$version/libtirpc-$version.tar.bz2 http://www.linuxfromscratch.org/patches/downloads/$name/$name-$version-api_fixes-1.patch) build() { cd libtirpc-$version patch -Np1 -i ../libtirpc-$version-api_fixes-1.patch ./configure --prefix=/usr \ --sysconfdir=/etc \ --disable-static \ --disable-gssapi make make pkgconfigdir=/usr/lib/pkgconfig DESTDIR=$PKG install chown -R root:root $PKG mkdir -p $PKG/lib mv -v $PKG/usr/lib/libtirpc.so.* $PKG/lib ln -sfv ../../lib/libtirpc.so.1.0.10 $PKG/usr/lib/libtirpc.so }