diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2018-07-08 14:00:45 +0200 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2018-07-19 15:24:40 +0200 |
commit | c896a2e41b120242a29643be4bb43248e99cc494 (patch) | |
tree | 894f717c3b21b17ef068b8da76d23f1eadfe7b1e /x11-plugins/wmXName | |
parent | x11-plugins/wmSun: add EAPI7 ebuild (diff) | |
download | gentoo-c896a2e41b120242a29643be4bb43248e99cc494.tar.gz gentoo-c896a2e41b120242a29643be4bb43248e99cc494.tar.bz2 gentoo-c896a2e41b120242a29643be4bb43248e99cc494.zip |
x11-plugins/wmXName: EAPI7, improve ebuild
Diffstat (limited to 'x11-plugins/wmXName')
-rw-r--r-- | x11-plugins/wmXName/wmXName-0.1-r1.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/x11-plugins/wmXName/wmXName-0.1-r1.ebuild b/x11-plugins/wmXName/wmXName-0.1-r1.ebuild new file mode 100644 index 000000000000..425b4cb5f46c --- /dev/null +++ b/x11-plugins/wmXName/wmXName-0.1-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +MY_PV="0.01" +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="dock-app showing you status of your XName hosted zones" +HOMEPAGE="http://source.xname.org/" +SRC_URI="http://source.xname.org/${MY_P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +COMMON_DEPEND=">=x11-libs/libXpm-3.5.7 + >=x11-libs/libX11-1.1.4 + >=x11-libs/libXext-1.0.3" + +RDEPEND="${COMMON_DEPEND} + >=dev-lang/perl-5.8.8-r5 + >=www-client/lynx-2.8.6-r2" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + default + #some magic sed to fix CFLAGS + sed -i "s/-O2 -Wall/$CFLAGS/" "${S}/Makefile" || die + + #INSTALL file actually contains use instructions + mv "${S}/INSTALL" "${S}/README" || die +} + +src_compile() { + emake CC="$(tc-getCC)" SYSTEM="${LDFLAGS}" +} + +src_install () { + dobin wmXName GrabXName + dodoc README config.sample +} |