milis/talimatname/genel/l/libtirpc/talimat

31 lines
801 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Transport Independent RPC library (SunRPC replacement)
2016-02-24 01:27:23 +01:00
# URL: http://downloads.sourceforge.net/project/libtirpc
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler:
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
isim=libtirpc
surum=0.3.2
devir=1
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
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)
2016-02-24 01:27:23 +01:00
2017-10-27 23:59:41 +02:00
derle()
2016-02-24 01:27:23 +01:00
{
2017-10-28 14:10:23 +02:00
cd libtirpc-$surum
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
patch -Np1 -i ../libtirpc-$surum-api_fixes-1.patch
2016-02-24 01:27:23 +01:00
./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
}