mldonkey: Fixed after new ocaml update.

This commit is contained in:
Jose V Beneyto 2008-01-15 16:51:51 +01:00
parent a704e54467
commit 5a0958ea4a

View File

@ -6,14 +6,16 @@
name=mldonkey
version=2.9.2
release=4
release=5
source=(http://dl.sourceforge.net/sourceforge/${name}/${name}-${version}.tar.bz2 \
mlnetd)
build() {
OCAML_VER=$(pkginfo -i | grep ocaml | cut -d' ' -f2 | sed 's|-[0-9]*||')
cd ${name}-${version}
./configure --prefix=/usr \
--disable-gui \
--enable-ocamlver=${OCAML_VER} \
--disable-debug
make
make DESTDIR=${PKG} install