/[gentoo-x86]/net-irc/ii/ii-1.6.ebuild
Gentoo

Contents of /net-irc/ii/ii-1.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Oct 25 19:20:07 2011 UTC (2 years, 9 months ago) by binki
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines
Add ~amd64-linux keyword.

(Portage version: 2.2.0_alpha67-r1/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-irc/ii/ii-1.6.ebuild,v 1.1 2011/10/20 18:14:07 binki Exp $
4
5 EAPI=4
6
7 inherit fixheadtails toolchain-funcs
8
9 DESCRIPTION="A minimalist FIFO and filesystem-based IRC client"
10 HOMEPAGE="http://tools.suckless.org/ii/"
11 SRC_URI="http://dl.suckless.org/tools/${P}.tar.gz"
12
13 LICENSE="MIT"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86 ~amd64-linux"
16 IUSE=""
17
18 DEPEND=""
19 RDEPEND=""
20
21 src_prepare() {
22 sed -i \
23 -e "s/CFLAGS = -g -O0/CFLAGS += /" \
24 -e "s/LDFLAGS =/LDFLAGS +=/" \
25 -e /^LIBS/d \
26 config.mk || die "sed failed to fix {C,LD}FLAGS"
27
28 ht_fix_file query.sh
29 }
30
31 src_compile() {
32 emake CC=$(tc-getCC)
33 }
34
35 src_install() {
36 dobin ii
37 newbin query.sh ii-query
38 dodoc CHANGES FAQ README
39 doman *.1
40 }

  ViewVC Help
Powered by ViewVC 1.1.20