1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit toolchain-funcs
7 DESCRIPTION="simple pointer warp"
8 HOMEPAGE="http://tools.suckless.org/view/x+tools"
9 SRC_URI="http://suckless.org/download/${P}.tar.gz"
16 DEPEND="x11-libs/libX11"
25 Makefile || die "sed failed"
28 -e "s/CFLAGS = -Os/CFLAGS +=/" \
29 -e "s/LDFLAGS =/LDFLAGS +=/" \
30 config.mk || die "sed failed"
34 emake CC=$(tc-getCC) || die "emake failed"
38 emake DESTDIR="${D}" PREFIX="/usr" install || die "emake install failed"