-DIST wmppp-1.3.0.tar.gz 31187 RMD160 2f560637292626561e58a3218e10f17d6e18ab11 SHA1 981b60805f8fd208a055ceb451152ba9d6b6ade9 SHA256 ce9aba279d4e88e34d239e7f69ff7ad000626b9c4210f5bb9c46a4ec318e8c4f
+DIST wmppp-1.3.0.tar.gz 31187 SHA256 ce9aba279d4e88e34d239e7f69ff7ad000626b9c4210f5bb9c46a4ec318e8c4f
+DIST wmppp.app-1.3.2.tar.gz 26861 SHA256 677b109c72ec0a69c950dfd8da3674daf002e9c0cc6982c45af6c81a0bc38865 SHA512 92e9d8c3dea92907bcde0b7da9f599f2fe6354cb8c4f60969ac5d3e69a6ea0c8547388b6228f35a2e4bc2d5888ba89354aa18950e705cbd444798467255ea8fc WHIRLPOOL 0f408b2b1b10ae517a418331a48030207121dfce8a82d9b4b6cf49928257245cf282fb1af51adb927e610373743ea51a49189b3f07833c70413d26896a4684b6
--- /dev/null
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit toolchain-funcs
+
+MY_P=${PN}.app-${PV}
+DESCRIPTION="PPP dial control and network load monitor with NeXTStep look"
+HOMEPAGE="http://windowmaker.org/dockapps/?name=wmppp.app"
+# Grab from http://windowmaker.org/dockapps/?download=${P}.tar.gz
+SRC_URI="https://dev.gentoo.org/~voyageur/distfiles/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXpm"
+DEPEND="${RDEPEND}
+ x11-proto/xextproto"
+
+S=${WORKDIR}/${MY_P}
+
+#src_prepare() {
+# sed -ie 's/-o wmppp/\$(LDFLAGS) -o wmppp/' Makefile
+#}
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
+}
+
+src_install () {
+ emake DESTDIR="${D}" PREFIX=/usr install
+# dobin wmppp
+# exeinto /etc/ppp
+# doexe getmodemspeed
+# dodoc user.wmppprc
+ dodoc BUGS CHANGES HINTS README TODO
+}