Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-devel/bin86: bin86-0.16.17.ebuild
Date: Wed, 27 Feb 2008 20:50:41
Message-Id: E1JUTEc-0005sV-4P@stork.gentoo.org
1 vapier 08/02/27 20:50:38
2
3 Modified: bin86-0.16.17.ebuild
4 Log:
5 cleanup
6 (Portage version: 2.2_pre2)
7
8 Revision Changes Path
9 1.6 sys-devel/bin86/bin86-0.16.17.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/bin86/bin86-0.16.17.ebuild?rev=1.6&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/bin86/bin86-0.16.17.ebuild?rev=1.6&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/bin86/bin86-0.16.17.ebuild?r1=1.5&r2=1.6
14
15 Index: bin86-0.16.17.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/sys-devel/bin86/bin86-0.16.17.ebuild,v
18 retrieving revision 1.5
19 retrieving revision 1.6
20 diff -u -r1.5 -r1.6
21 --- bin86-0.16.17.ebuild 26 Jun 2007 02:51:42 -0000 1.5
22 +++ bin86-0.16.17.ebuild 27 Feb 2008 20:50:37 -0000 1.6
23 @@ -1,12 +1,12 @@
24 -# Copyright 1999-2005 Gentoo Foundation
25 +# Copyright 1999-2008 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/bin86/bin86-0.16.17.ebuild,v 1.5 2007/06/26 02:51:42 mr_bones_ Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/bin86/bin86-0.16.17.ebuild,v 1.6 2008/02/27 20:50:37 vapier Exp $
29
30 inherit toolchain-funcs eutils
31
32 DESCRIPTION="Assembler and loader used to create kernel bootsector"
33 -HOMEPAGE="http://www.cix.co.uk/~mayday/"
34 -SRC_URI="http://www.cix.co.uk/~mayday/dev86/${P}.tar.gz"
35 +HOMEPAGE="http://homepage.ntlworld.com/robert.debath/"
36 +SRC_URI="http://homepage.ntlworld.com/robert.debath/dev86/${P}.tar.gz"
37
38 LICENSE="GPL-2"
39 SLOT="0"
40 @@ -17,27 +17,27 @@
41
42 src_unpack() {
43 unpack ${A}
44 - cd ${S}
45 + cd "${S}"
46 sed -i \
47 -e 's:/man/man1:/share/man/man1:' \
48 -e '/^INSTALL_OPTS/s:-s::' \
49 Makefile || die "sed"
50
51 # This should make it built on other archictectures as well
52 - use amd64 && epatch ${FILESDIR}/${P}-amd64-build.patch
53 + use amd64 && epatch "${FILESDIR}"/${P}-amd64-build.patch
54 }
55
56 src_compile() {
57 emake \
58 PREFIX="/usr" \
59 CC="$(tc-getCC)" \
60 - CFLAGS="${CFLAGS} -D_POSIX_SOURCE" \
61 + CFLAGS="${CFLAGS} -D_POSIX_SOURCE ${CPPFLAGS}" \
62 LDFLAGS="${LDFLAGS}" \
63 || die
64 }
65
66 src_install() {
67 dodir /usr/bin /usr/share/man/man1
68 - make install PREFIX="${D}/usr" || die "install"
69 + emake install PREFIX="${D}/usr" || die "install"
70 dodoc README* ChangeLog
71 }
72
73
74
75 --
76 gentoo-commits@l.g.o mailing list