diff options
Diffstat (limited to 'net-irc/sic/sic-0.6.ebuild')
-rw-r--r-- | net-irc/sic/sic-0.6.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/net-irc/sic/sic-0.6.ebuild b/net-irc/sic/sic-0.6.ebuild new file mode 100644 index 000000000..e118d5d66 --- /dev/null +++ b/net-irc/sic/sic-0.6.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit toolchain-funcs + +DESCRIPTION="an extremly simple IRC client" +HOMEPAGE="http://suckless.org" +SRC_URI="http://suckless.org/download/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_unpack() { + unpack ${A} + cd "${S}" + + sed -i \ + -e "s/.*strip.*//" \ + Makefile || die "sed failed" + + sed -i \ + -e "s/CFLAGS = -Os/CFLAGS +=/" \ + -e "s/LDFLAGS =/LDFLAGS +=/" \ + config.mk || die "sed failed" +} + +src_compile() { + emake CC=$(tc-getCC) || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" PREFIX="/usr" install || + "emake install failed" + + dodoc README +} |