# Maintainer: PktSurf app=libtirpc version=1.2.6 build=1sml homepage="http://sourceforge.net/projects/libtirpc/" download="https://downloads.sourceforge.net/libtirpc/libtirpc-$version.tar.bz2" desc="Transport-Independent RPC library" requires="musl" prepbuilddir() { mkandenterbuilddir rm -rf $app-$version tar xf $srcdir/$app-$version.tar.?z* cd $app-$version fixbuilddirpermissions applypatch $srcdir/soname-suffix.patch } build() { ./configure \ --prefix= \ --sysconfdir=/etc \ --disable-static \ --disable-gssapi make make install DESTDIR=$pkg cp COPYING $pkgdocs/ # Don't use .3t man page suffix: if [ -d $pkg/usr/share/man/man3 ]; then ( cd $pkg/usr/share/man/man3 for file in *.3t ; do mv $file $(basename $file .3t).3 done ) fi mv $pkg/etc/netconfig $pkg/etc/netconfig.new mkfinalpkg } sha512sums=" b4feea6341828e5bf3f0f69f543a737e91955da20d9e668910ced27fb5ec5fc0761996680c18dd4ff7fff901f4b72da7d15bcddf5084f7eec80ea4308c4398f9 libtirpc-1.2.6.tar.lz ccb6352c3c3b896765581595b9a0e45a527c34cbc16495d3890f996a2bc077a02ceae0ddd63505b3420a8414b93a267c82a11bc75997de8f9ca0a22e4c4daa5c soname-suffix.patch "