blob: ce671fffdc4be9a91fd628e0cd165bd6a4edbdc8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit eutils toolchain-funcs
DESCRIPTION="A minimalistic X11 window manager"
HOMEPAGE="https://www.red-bean.com/decklin/aewm/"
SRC_URI="https://www.red-bean.com/decklin/aewm/${P}.tar.bz2"
LICENSE="MIT 9wm"
SLOT="0"
KEYWORDS="amd64 ppc x86"
RDEPEND="
dev-libs/glib:2
x11-libs/gtk+:2
x11-libs/libX11
x11-libs/libXext
x11-libs/libXft
"
DEPEND="
${RDEPEND}
virtual/pkgconfig
x11-base/xorg-proto
"
src_prepare() {
epatch "${FILESDIR}"/${P}-gentoo.patch
sed -i -e '/^font/s|".*"|"fixed"|g' doc/aewmrc.ex || die
sed -i -e 's|skill|pkill|g' doc/clientsrc.ex || die
}
src_compile() {
emake \
CC="$(tc-getCC)" \
CFLAGS="${CFLAGS}" \
LDFLAGS="${LDFLAGS}" \
PKG_CONFIG="$(tc-getPKG_CONFIG)"
}
src_install() {
emake \
DESTDIR="${D}" \
MANDIR="${D}/usr/share/man/man1" \
XROOT="/usr" \
install
dodoc NEWS README
}
|