milis/talimatname/genel/l/libtirpc/talimat

31 lines
801 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# Tanım: Transport Independent RPC library (SunRPC replacement)
# URL: http://downloads.sourceforge.net/project/libtirpc
# Paketçi: milisarge
# Gerekler:
isim=libtirpc
surum=0.3.2
devir=1
kaynak=(http://downloads.sourceforge.net/project/libtirpc/libtirpc/$surum/libtirpc-$surum.tar.bz2
http://www.linuxfromscratch.org/patches/downloads/$isim/$isim-$surum-api_fixes-1.patch)
derle()
{
cd libtirpc-$surum
patch -Np1 -i ../libtirpc-$surum-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
}