2007-01-29 23:11:29 +01:00
|
|
|
# Description: Multi-platform multi-network peer-to-peer client.
|
|
|
|
# URL: http://mldonkey.sourceforge.net/
|
2009-05-16 01:44:26 +02:00
|
|
|
# Maintainer: Jose V Beneyto, sepen at crux dot nu
|
|
|
|
# Packager: Jose V Beneyto, sepen at crux dot nu
|
2009-10-23 09:16:30 +02:00
|
|
|
# Depends on: ocaml bzip2
|
2009-05-16 01:44:26 +02:00
|
|
|
# Nice to have: libgd
|
2006-11-22 02:40:25 +01:00
|
|
|
|
|
|
|
name=mldonkey
|
2009-10-23 09:16:30 +02:00
|
|
|
version=3.0.1
|
2008-08-18 19:48:19 +02:00
|
|
|
release=1
|
|
|
|
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}')
|
2008-08-18 19:48:19 +02: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-08-18 19:48:19 +02:00
|
|
|
--enable-ocamlver="$OCAML_VER" \
|
2007-06-22 17:00:12 +02:00
|
|
|
--disable-debug
|
2007-05-15 02:09:31 +02:00
|
|
|
make
|
2008-08-18 19:48:19 +02:00
|
|
|
make DESTDIR=$PKG install
|
|
|
|
install -d $PKG/var/mlnet
|
|
|
|
install -D -m 0755 $SRC/mlnetd $PKG/etc/rc.d/mlnetd
|
2006-11-22 02:40:25 +01:00
|
|
|
}
|