milis/talimatname/genel/libtirpc/talimat

31 lines
822 B
Plaintext
Raw Normal View History

2016-02-24 01:27:23 +01:00
# Description: Transport Independent RPC library (SunRPC replacement)
# URL: http://downloads.sourceforge.net/project/libtirpc
2017-09-25 04:27:47 +02:00
# Packager: milisarge
# Depends on:
2016-02-24 01:27:23 +01:00
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
}