<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>desktop-dock</herd>
+ <herd>desktop-dock</herd>
</pkgmetadata>
+++ /dev/null
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-inherit eutils flag-o-matic toolchain-funcs
-
-IUSE=""
-
-DESCRIPTION="Windowmaker dockapp which monitors up to 5 printqueues"
-SRC_URI="http://www.ur.uklinux.net/wmlpq/dl/wmlpq_0.2.1.tar.gz"
-HOMEPAGE="http://www.ur.uklinux.net/wmlpq/"
-
-DEPEND="<x11-libs/libdockapp-0.7"
-RDEPEND="${DEPEND}"
-
-RDEPEND=""
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~ppc ~x86"
-
-src_unpack()
-{
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}/${PN}-makefile-ldflags.patch"
-}
-
-src_compile()
-{
- append-ldflags "-L/usr/X11R6/lib -L/usr/local/lib"
- emake CC=$(tc-getCC) LDFLAGS="${LDFLAGS}" || die
-}
-
-src_install()
-{
- dodir /usr/bin || die
- emake DESTDIR="${D}/usr/bin" install || die "Installation failed"
-
- dodoc README sample.wmlpqrc || die
- newman wmlpq.1x wmlpq.1 || die
-
- domenu "${FILESDIR}/${PN}.desktop" || die
-}
# $Id$
EAPI=5
+
inherit eutils flag-o-matic toolchain-funcs
DESCRIPTION="Windowmaker dockapp which monitors up to 5 printqueues"
DEPEND=">=x11-libs/libdockapp-0.7:="
RDEPEND="${DEPEND}"
-src_prepare()
-{
+src_prepare() {
epatch "${FILESDIR}/${PN}-makefile-ldflags.patch"
sed -e 's#<dockapp.h>#<libdockapp/dockapp.h>#' -i *.c || die
}
-src_compile()
-{
+src_compile() {
emake CC=$(tc-getCC) LDFLAGS="${LDFLAGS}"
}
-src_install()
-{
+src_install() {
dodir /usr/bin
emake DESTDIR="${D}"/usr/bin install