summaryrefslogtreecommitdiff
path: root/mldonkey/Pkgfile
diff options
context:
space:
mode:
authorJose V Beneyto <joberui@ei.upv.es>2007-05-15 02:09:31 +0200
committerJose V Beneyto <joberui@ei.upv.es>2007-05-15 02:10:34 +0200
commit6e23beccfb08257d38762ccc799a3621bacb743e (patch)
tree9f91f51fa89e82bf8f79fa0c19429b4188c06228 /mldonkey/Pkgfile
parentc4aab2075647bbe4a7e68a1ec11ca0e70986c698 (diff)
downloadcontrib-6e23beccfb08257d38762ccc799a3621bacb743e.tar.gz
contrib-6e23beccfb08257d38762ccc799a3621bacb743e.tar.xz
mldonkey: Updated to 2.8.5 and ported to be used as daemon.
Diffstat (limited to 'mldonkey/Pkgfile')
-rw-r--r--mldonkey/Pkgfile19
1 files changed, 10 insertions, 9 deletions
diff --git a/mldonkey/Pkgfile b/mldonkey/Pkgfile
index 5f5a9993f..dbb35889f 100644
--- a/mldonkey/Pkgfile
+++ b/mldonkey/Pkgfile
@@ -5,16 +5,17 @@
# Depends on: ocaml
name=mldonkey
-version=2.8.3
+version=2.8.5
release=1
-source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.bz2)
+source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.bz2 \
+ mlnetd)
build() {
- cd $name-$version
- ./configure --prefix=/usr \
- --enable-minimum
- make
- install -d $PKG/usr/bin
- install -m 755 mlnet $PKG/usr/bin
- ln -sd /usr/bin/mlnet $PKG/usr/bin/$name
+ cd $name-$version
+ ./configure --prefix=/usr \
+ --enable-minimum
+ make
+ install -D -m 0755 ${SRC}/mlnetd ${PKG}/etc/rc.d/mlnetd
+ install -D -m 0755 mlnet ${PKG}/usr/bin/mlnet
+ ln -sf /usr/bin/mlnet ${PKG}/usr/bin/${name}
}

Generated by cgit