forked from ports/contrib
mldonkey: Updated 2.9.3 -> 2.9.6 and cleaned up.
This commit is contained in:
parent
8fcfdbb03b
commit
88286023cd
@ -1,2 +1,2 @@
|
||||
9d7a6d30d5d8a591b4d41e980f8e476e mldonkey-2.9.3.tar.bz2
|
||||
5da87678449bf87ce0c78f37e7871eb9 mldonkey-2.9.6.tar.bz2
|
||||
1fdadc340360b068b13791efff1b818e mlnetd
|
||||
|
@ -6,20 +6,20 @@
|
||||
# Optional: libgd
|
||||
|
||||
name=mldonkey
|
||||
version=2.9.3
|
||||
release=2
|
||||
source=(http://dl.sourceforge.net/sourceforge/${name}/${name}-${version}.tar.bz2 \
|
||||
version=2.9.6
|
||||
release=1
|
||||
source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.bz2 \
|
||||
mlnetd)
|
||||
|
||||
build() {
|
||||
local OCAML_VER=$(ocaml -version | awk '{print $6}')
|
||||
cd ${name}-${version}
|
||||
cd $name-$version
|
||||
./configure --prefix=/usr \
|
||||
--disable-gui \
|
||||
--enable-ocamlver=${OCAML_VER} \
|
||||
--enable-ocamlver="$OCAML_VER" \
|
||||
--disable-debug
|
||||
make
|
||||
make DESTDIR=${PKG} install
|
||||
install -d ${PKG}/var/mlnet
|
||||
install -D -m 0755 ${SRC}/mlnetd ${PKG}/etc/rc.d/mlnetd
|
||||
make DESTDIR=$PKG install
|
||||
install -d $PKG/var/mlnet
|
||||
install -D -m 0755 $SRC/mlnetd $PKG/etc/rc.d/mlnetd
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
README for mldonkey 2.9.3
|
||||
README for mldonkey
|
||||
|
||||
REQUIREMENTS
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user