Lines 1-7
Link Here
|
1 |
# Copyright 1999-2018 Gentoo Foundation |
1 |
# Copyright 1999-2018 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
|
3 |
|
4 |
EAPI=5 |
4 |
EAPI=7 |
5 |
inherit savedconfig toolchain-funcs |
5 |
inherit savedconfig toolchain-funcs |
6 |
|
6 |
|
7 |
DESCRIPTION="Simple generic tabbed fronted to xembed aware applications" |
7 |
DESCRIPTION="Simple generic tabbed fronted to xembed aware applications" |
Lines 20-31
DEPEND="
Link Here
|
20 |
" |
20 |
" |
21 |
|
21 |
|
22 |
src_prepare() { |
22 |
src_prepare() { |
|
|
23 |
default |
24 |
|
23 |
sed config.mk \ |
25 |
sed config.mk \ |
24 |
-e '/^CC/d' \ |
26 |
-e '/^CC/d' \ |
25 |
-e 's|/usr/local|/usr|g' \ |
27 |
-e 's|/usr/local|/usr|g' \ |
26 |
-e 's|^CFLAGS.*|CFLAGS += -std=c99 -pedantic -Wall $(INCS) $(CPPFLAGS)|g' \ |
28 |
-e 's|^CFLAGS.*|CFLAGS += -std=c99 -pedantic -Wall $(INCS) $(CPPFLAGS)|g' \ |
27 |
-e 's|^LDFLAGS.*|LDFLAGS += $(CFLAGS) $(LIBS)|g' \ |
29 |
-e 's|^LDFLAGS.*|LDFLAGS += $(CFLAGS) $(LIBS)|g' \ |
28 |
-e 's|^LIBS.*|LIBS = -lX11|g' \ |
|
|
29 |
-e 's|{|(|g;s|}|)|g' \ |
30 |
-e 's|{|(|g;s|}|)|g' \ |
30 |
-i || die |
31 |
-i || die |
31 |
|
32 |
|