Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=3d7773a4e2d56942422ae0efcf4ce9ebc2e09756
commit 3d7773a4e2d56942422ae0efcf4ce9ebc2e09756 Author: crazy <[email protected]> Date: Tue Nov 3 00:48:25 2015 +0100 mldonkey-3.1.5-1-x86_64 - removed - repo cleanup diff --git a/source/xapps-extra/mldonkey/FrugalBuild b/source/xapps-extra/mldonkey/FrugalBuild deleted file mode 100644 index 73ec56b..0000000 --- a/source/xapps-extra/mldonkey/FrugalBuild +++ /dev/null @@ -1,67 +0,0 @@ -# Compiling Time: 0.31 SBU -# Maintainer: Pingax <[email protected]> -# Contributor: Christian Hamar alias krix <[email protected]> - -options+=('asneeded') - -pkgname=mldonkey -pkgver=3.1.5 -pkgrel=1 -pkgdesc="mldonkey is a new client to access the eDonkey network." -_F_sourceforge_ext=".tar.bz2" -Finclude sourceforge -source=($source mldonkey-stop-mlnet mldonkey-wrapper) -depends=('librsvg>=2.26.0-2' 'gd' 'lablgtk2>=2.10.1-2' 'lablgtk2-rsvg>=2.10.1-2' \ - 'file' 'libstdc++' 'zlib') -makedepends=('rpm' 'ocaml') # weird -rodepends=('wget' 'procps') -options=('scriptlet') -groups=('xapps-extra') -archs=('x86_64' 'i686') -sha1sums=('7bc4f9272ecfe6403eef7062766b26bf321e3015' \ - 'b04a153c34219867b656d5f31a86c359e5d5701b' \ - 'fa2d96abad27ddd03f8ac0546cd423a752cade67') - -build() -{ - Fcd - unset MAKEFLAGS - Fconf \ - --prefix=/usr \ - --sysconfdir=/etc/mldonkey \ - --sharedstatedir=/var/mldonkey \ - --localstatedir=/var/mldonkey \ - --enable-checks \ - --enable-pthread \ - --enable-pthread-lib \ - --enable-gui=newgui2 \ - --enable-gnutella2 \ - --enable-gnutella - # NOTE gnutella* is not maintained but is working fine - # at the moment so we can use it - export OCAMLRUNPARAM="l=256M" - make || Fdie - Fmakeinstall - ## Some strange HACKS for now but I don't want to add any _init_ scripts - ## Running this as root or system users is _weird_. There is a option to - ## run_as_user but I don't like that right now =) - ## TODO : Do this better and add some config file - Ffilerel packages/rpm/mldonkey-icon-48.png /usr/share/pixmaps/$pkgname.png - _F_desktop_name="MLDonkey GUI" - _F_desktop_icon="$pkgname.png" - _F_desktop_exec="/usr/bin/$pkgname-wrapper" - _F_desktop_categories="GTK;Network;P2P;" - Fdesktop2 - _F_desktop_name="Stop MLNet Daemon" - _F_desktop_desc="Wrapper for stopping MLNet." - _F_desktop_icon="$pkgname.png" - _F_desktop_exec="/usr/bin/$pkgname-stop-mlnet" - _F_desktop_filename="$pkgname-mlnet" - _F_desktop_categories="GTK;Network;P2P;" - Fdesktop2 - Fsed "StartupNotify=.*" "StartupNotify=false" $Fdestdir/$Fmenudir/$pkgname-mlnet.desktop - Fexe /usr/bin/$pkgname-wrapper - Fexe /usr/bin/$pkgname-stop-mlnet -} - -# optimization OK diff --git a/source/xapps-extra/mldonkey/mldonkey-stop-mlnet b/source/xapps-extra/mldonkey/mldonkey-stop-mlnet deleted file mode 100644 index 2f32e2c..0000000 --- a/source/xapps-extra/mldonkey/mldonkey-stop-mlnet +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -if [[ "$(ps -C mlnet -o pid=)" != "" ]]; then - pid="$(ps -C mlnet -o pid=)" - kill -9 $pid 2>/dev/null - sleep 2 -fi - -exit 0 diff --git a/source/xapps-extra/mldonkey/mldonkey-wrapper b/source/xapps-extra/mldonkey/mldonkey-wrapper deleted file mode 100644 index e73a531..0000000 --- a/source/xapps-extra/mldonkey/mldonkey-wrapper +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -# wrapper to start mlnet and GUI -if [[ "$(ps -C mlnet -o pid=)" != "" ]]; then - LC_ALL=C; /usr/bin/mlgui 2>/dev/null -else - /usr/bin/mlnet 2>/dev/null & - # broken without that , well sometimes works sometimes not - # but that way it does always work - sleep 3 - LC_ALL=C; /usr/bin/mlgui 2>/dev/null -fi - -exit 0 - _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
