diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-05 14:04:26 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-05 14:04:26 +0000 |
commit | 8fd9d385e5bc3c01115ec2ddcb2227607eb90861 (patch) | |
tree | aba1e6ef6b95e94172c009394cd1fcbc383e7d6e /x11-wm/cwm/cwm-7.4.ebuild | |
parent | 1ddcee0bd115d2f843f82061cb0d1741bf90151d (diff) |
gentoo auto-resync : 05:01:2024 - 14:04:25
Diffstat (limited to 'x11-wm/cwm/cwm-7.4.ebuild')
-rw-r--r-- | x11-wm/cwm/cwm-7.4.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/x11-wm/cwm/cwm-7.4.ebuild b/x11-wm/cwm/cwm-7.4.ebuild new file mode 100644 index 000000000000..db09b7759f57 --- /dev/null +++ b/x11-wm/cwm/cwm-7.4.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop toolchain-funcs + +DESCRIPTION="OpenBSD fork of calmwm, a clean and lightweight window manager" +HOMEPAGE="https://github.com/leahneukirchen/cwm" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/leahneukirchen/cwm.git" +else + SRC_URI="https://github.com/leahneukirchen/cwm/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +fi + +LICENSE="ISC" +SLOT="0" + +DEPEND="x11-libs/libX11 + x11-libs/libXft + x11-libs/libXrandr +" +RDEPEND="${DEPEND}" +BDEPEND=" + sys-devel/bison + virtual/pkgconfig +" + +src_compile() { + emake CFLAGS="${CFLAGS} -D_GNU_SOURCE" CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)" +} + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr install + dodoc README + make_session_desktop ${PN} ${PN} +} |