milis/talimatname/genel/l/libtirpc/talimat

32 lines
831 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Ulaştırma Bağımsız RPC kütüphanesi (SunRPC'nin değiştirilmesi)
# URL: https://sourceforge.net/projects/libtirpc/
# Paketçi: milisarge
# Gerekler:
# Grup: kütüphane
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
}