# Template file for 'mldonkey'
pkgname=mldonkey
version=3.1.6
revision=1
_release="release-${version//./-}"
wrksrc="${pkgname}-${_release}"
build_style=gnu-configure
hostmakedepends="autoconf camlp4 ocaml ocamlbuild wget"
makedepends="bzip2-devel file-devel glib-devel ncurses-devel zlib-devel"
depends="wget"
short_desc="Multi-platform, multi-network p2p daemon"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2"
homepage="http://mldonkey.sourceforge.net/"
distfiles="https://github.com/ygrek/${pkgname}/archive/${_release}.tar.gz"
checksum=632735d835c33d9815ae64aa8d4abb61b1bd8dd6c55ef66694f9254c97c2877d
nopie=yes  # can't link against ocaml runtime else
nocross=yes
