diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-08-04 08:53:53 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-08-04 08:53:53 +0100 |
commit | e3872864be25f7421015bef2732fa57c0c9fb726 (patch) | |
tree | 9cb29a544215119b5c5538e37211b994ce1c87ae /x11-plugins/wmpager/wmpager-1.2-r2.ebuild | |
parent | 480486b52ea64765faf696c88b2c6a26a5a454d4 (diff) |
gentoo resync : 04.08.2018
Diffstat (limited to 'x11-plugins/wmpager/wmpager-1.2-r2.ebuild')
-rw-r--r-- | x11-plugins/wmpager/wmpager-1.2-r2.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/x11-plugins/wmpager/wmpager-1.2-r2.ebuild b/x11-plugins/wmpager/wmpager-1.2-r2.ebuild new file mode 100644 index 000000000000..377275d083a7 --- /dev/null +++ b/x11-plugins/wmpager/wmpager-1.2-r2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="A simple pager docklet for the WindowMaker window manager" +HOMEPAGE="http://wmpager.sourceforge.net/" +SRC_URI="mirror://sourceforge/wmpager/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~sparc ~x86" + +RDEPEND="x11-libs/libX11 + x11-libs/libXpm + x11-libs/libXext" + +src_prepare() { + default + sed -i "s:\(WMPAGER_DEFAULT_INSTALL_DIR \).*:\1\"/usr/share/wmpager\":" \ + src/wmpager.c || die + + #Honour Gentoo CFLAGS and LDFLAGS, see bug #337604 + sed -i -e "s/-g/${CFLAGS}/" \ + -e "s/\${LIBS}/\${LIBS} \${LDFLAGS}/" \ + src/Makefile || die +} + +src_install() { + emake INSTALLDIR="${ED}/usr" install + rm -rf "${ED}"/usr/man || die + doman man/man1/*.1x + dodoc README +} |