summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-plugins/wmcalc/wmcalc-0.4.ebuild')
-rw-r--r--x11-plugins/wmcalc/wmcalc-0.4.ebuild46
1 files changed, 0 insertions, 46 deletions
diff --git a/x11-plugins/wmcalc/wmcalc-0.4.ebuild b/x11-plugins/wmcalc/wmcalc-0.4.ebuild
deleted file mode 100644
index 1ac5879a3c7b..000000000000
--- a/x11-plugins/wmcalc/wmcalc-0.4.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-inherit multilib toolchain-funcs
-
-DESCRIPTION="A WindowMaker DockApp calculator"
-HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/130"
-SRC_URI="mirror://gentoo/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc ppc64 sparc x86"
-IUSE=""
-
-RDEPEND="x11-libs/libX11
- x11-libs/libXext
- x11-libs/libXpm"
-DEPEND="${RDEPEND}
- x11-proto/xproto
- x11-proto/xextproto"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- sed -e "s:gcc:$(tc-getCC):g" \
- -e "s:-O2:${CFLAGS}:g" -i Makefile
-
- #Honour Gentoo LDFLAGS, see bug #337434
- sed -e "s:-o \${TARGET}:\$(LDFLAGS) -o \${TARGET}:" -i Makefile
-}
-
-src_compile() {
- emake INCLUDES="-I/usr/include/X11" \
- LIBINC="-L/usr/$(get_libdir)" \
- || die "emake failed."
-}
-
-src_install() {
- dodir /etc /usr/bin
-
- emake DESTDIR="${D}" PREFIX="/usr" install \
- || die "emake install failed."
-
- dodoc README
- newman "${FILESDIR}"/wmcalc.man wmcalc.1
-}