package libtirpc {
	description = "a port of Suns Transport-Independent RPC library to Linux"
	website = "https://sourceforge.net/projects/libtirpc"
	anitya = 1740

	version# = "1.3.7"
	source = remoteGit {
		url = "git://linux-nfs.org/~steved/libtirpc"
		tag = "libtirpc-"+join(split(version, ".", 3), "-")
		checksum = "nzFfu7LNvnSNiNAryD1vtnNWnU-Xqee8KqfXUKoBf5yjb5-dkeRkYuRijdCoYLof"
	}

	exec = make {
		generate = "sh -e ./bootstrap"
		configure = [
			"CFLAGS": r`"$(pkg-config --cflags libbsd-overlay) ${CFLAGS:-}"`
			"disable-gssapi"
		]
	}

	inputs = [
		automake
		libtool
		pkg-config

		libbsd
		kernel-headers
	]
}
