forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x11-plugins/wmDownload: EAPI bump, fix compilation with new libdockapp
Fixes bug #558488 by Toralf Förster <[email protected]> Package-Manager: portage-2.2.20.1
- Loading branch information
Showing
3 changed files
with
40 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
DIST wmDownload-0.1.2a.tar.gz 11449 SHA256 77178290b9ac6e6b590280c8a9c6494fbe7853fff453e37651dd2ef9915c7213 | ||
DIST wmDownload-0.1.2a.tar.gz 11449 SHA256 77178290b9ac6e6b590280c8a9c6494fbe7853fff453e37651dd2ef9915c7213 SHA512 95bc3f7c9be344d88146fd0b2407afe43f5975bbf2158fc54c9d9200a7f09b53af3a8cae790b2e26f8e34792317a28524422e0d4f96e0e603e05af92d6354752 WHIRLPOOL 765c7332623951fda1bd8e299c2e62a718df0b4b40b5f6a1a1575ad4adfca9213d5b15b5bbc7a9cc4478257cf0c7074634c0b949b7bca2bffc1995acc80f5211 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Copyright 1999-2015 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=5 | ||
inherit eutils multilib toolchain-funcs | ||
|
||
DESCRIPTION="dockapp that displays how much data you've received on each eth and ppp device" | ||
SRC_URI="mirror://sourceforge/wmdownload/${P}.tar.gz" | ||
HOMEPAGE="http://wmdownload.sourceforge.net/" | ||
|
||
LICENSE="GPL-2" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~ppc ~sparc ~x86" | ||
IUSE="" | ||
|
||
RDEPEND=">=x11-libs/libdockapp-0.7:= | ||
x11-libs/libX11 | ||
x11-libs/libXext | ||
x11-libs/libXpm" | ||
DEPEND="${RDEPEND}" | ||
|
||
S="${WORKDIR}/${PN}" | ||
|
||
src_prepare() { | ||
epatch "${FILESDIR}"/${P}-makefile.patch | ||
sed -e 's#<dockapp.h>#<libdockapp/dockapp.h>#' -i *.c || die | ||
} | ||
|
||
src_compile() { | ||
emake CC="$(tc-getCC)" LIBDIR="/usr/$(get_libdir)" | ||
} | ||
|
||
src_install () { | ||
emake DESTDIR="${D}" install | ||
dodoc CHANGELOG CREDITS HINTS README TODO | ||
} |