2007-01-29 23:11:29 +01:00
|
|
|
# Description: Multi-platform multi-network peer-to-peer client.
|
|
|
|
# URL: http://mldonkey.sourceforge.net/
|
2007-12-19 01:03:50 +01:00
|
|
|
# Maintainer: Jose V Beneyto, sepen at users dot sourceforge dot net
|
|
|
|
# Packager: Jose V Beneyto, sepen at users dot sourceforge dot net
|
2007-06-22 17:00:12 +02:00
|
|
|
# Depends on: ocaml,libgd,bzip2
|
2006-11-22 02:40:25 +01:00
|
|
|
|
|
|
|
name=mldonkey
|
2007-11-09 19:42:14 +01:00
|
|
|
version=2.9.2
|
2008-01-15 17:14:58 +01:00
|
|
|
release=6
|
2007-11-09 19:42:14 +01:00
|
|
|
source=(http://dl.sourceforge.net/sourceforge/${name}/${name}-${version}.tar.bz2 \
|
2007-05-15 02:09:31 +02:00
|
|
|
mlnetd)
|
2006-11-22 02:40:25 +01:00
|
|
|
|
|
|
|
build() {
|
2008-01-15 17:14:58 +01:00
|
|
|
local OCAML_VER=$(ocaml -version | awk '{print $6}')
|
2007-11-09 19:42:14 +01:00
|
|
|
cd ${name}-${version}
|
2007-05-15 02:09:31 +02:00
|
|
|
./configure --prefix=/usr \
|
2007-06-22 17:00:12 +02:00
|
|
|
--disable-gui \
|
2008-01-15 16:51:51 +01:00
|
|
|
--enable-ocamlver=${OCAML_VER} \
|
2007-06-22 17:00:12 +02:00
|
|
|
--disable-debug
|
2007-05-15 02:09:31 +02:00
|
|
|
make
|
2007-12-19 01:03:50 +01:00
|
|
|
make DESTDIR=${PKG} install
|
|
|
|
install -d ${PKG}/var/mlnet
|
2007-05-15 02:09:31 +02:00
|
|
|
install -D -m 0755 ${SRC}/mlnetd ${PKG}/etc/rc.d/mlnetd
|
2006-11-22 02:40:25 +01:00
|
|
|
}
|