smlinux/base/libtirpc/libtirpc.SMBuild
PktSurf 1ddfe9abba * Fixed indentation in base/docbook build file
* Replaced patch command with applypatch function in multiple build files in base, xorg, gtk, extra and xfce sections
2022-02-23 23:21:55 +05:30

47 lines
1.1 KiB
Text
Executable file

app=libtirpc
version=1.2.6
build=1sml
homepage='http://sourceforge.net/projects/libtirpc/'
download='https://downloads.sourceforge.net/libtirpc/libtirpc-1.2.6.tar.bz2'
desc="Transport-Independent RPC library"
requires="musl"
build() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
applypatch $srcdir/soname-suffix.patch
./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/share/man/man3 ]; then
( cd $pkg/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="
bcb6b5c062c1301aa1246ec93ae0a5c1d221b8421126d020863517cb814b43ed038fb6c0c2faf4e68ff133b69abefe4f4d42bfc870671da6c27ca941a30b155a libtirpc-1.2.6.tar.bz2
ccb6352c3c3b896765581595b9a0e45a527c34cbc16495d3890f996a2bc077a02ceae0ddd63505b3420a8414b93a267c82a11bc75997de8f9ca0a22e4c4daa5c soname-suffix.patch
"