/[gentoo-x86]/net-misc/ipsc/ipsc-0.4.3.2-r2.ebuild
Gentoo

Contents of /net-misc/ipsc/ipsc-0.4.3.2-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Dec 18 19:59:59 2011 UTC (3 years, 2 months ago) by phajdan.jr
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -2 lines
x86 stable wrt bug #393841

(Portage version: 2.1.10.11/cvs/Linux i686)

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-misc/ipsc/ipsc-0.4.3.2-r2.ebuild,v 1.3 2011/12/16 20:53:40 ago Exp $
4
5 inherit toolchain-funcs
6
7 DESCRIPTION="IP Subnet Calculator"
8 HOMEPAGE="http://packages.debian.org/unstable/net/ipsc"
9 SRC_URI="mirror://gentoo/${P}.tar.bz2"
10 LICENSE="GPL-2"
11 SLOT="0"
12 KEYWORDS="amd64 x86"
13 IUSE=""
14 RDEPEND=""
15
16 src_unpack() {
17 unpack ${A}
18 cd "${S}"
19 sed -i \
20 -e "s:^CC = gcc:CC = $(tc-getCC):" \
21 -e "/^CFLAGS = .*/d" \
22 -e "s/^LIBS = /LDLIBS = /" \
23 -e '/$(CC).*\\$/,+1d' \
24 -e '/$(CC)/d' \
25 src/Makefile || die "Unable to sed upstream Makefile"
26 }
27
28 src_compile() {
29 cd src
30 emake || die "Compilation failed"
31 }
32
33 src_install() {
34 dodoc README ChangeLog TODO CONTRIBUTORS
35 dobin src/ipsc
36 doman src/ipsc.1
37 }

  ViewVC Help
Powered by ViewVC 1.1.20