1 # Copyright 1999-2021 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 inherit toolchain-funcs mercurial
6 DESCRIPTION
="Standalone client/server 9P library"
7 HOMEPAGE
="http://libs.suckless.org/"
8 EHG_REPO_URI
="http://code.suckless.org/hg/libixp"
12 KEYWORDS
="~amd64 ~ppc64 ~x86"
24 -e "/^ *PREFIX/s|=.*|= /usr|" \
25 -e "/^ *ETC/s|=.*|= /etc|" \
26 -e "/^ *CFLAGS/s|=|+=|" \
27 -e "/^ *LDFLAGS/s|=|+=|" \
28 "${S}"/config.mk || die
"sed failed"
32 emake
-j1 || die
"emake failed"
36 emake
-j1 DESTDIR
="${D}" install || die
"emake install failed"