/[gentoo-x86]/sys-freebsd/freebsd-rescue/freebsd-rescue-7.2.ebuild
Gentoo

Contents of /sys-freebsd/freebsd-rescue/freebsd-rescue-7.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Mar 11 11:09:04 2010 UTC (4 years, 9 months ago) by aballier
Branch: MAIN
Changes since 1.1: +6 -11 lines
Convert to eapi2, nuke built_with_use, nis is always enabled in freebsd-lib so no need to check it
(Portage version: 2.2_rc67/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-rescue/freebsd-rescue-7.2.ebuild,v 1.1 2009/05/22 13:40:51 aballier Exp $
4
5 EAPI=2
6
7 inherit bsdmk freebsd
8
9 DESCRIPTION="FreeBSD's rescue binaries"
10 SLOT="0"
11 KEYWORDS="~x86-fbsd"
12
13 IUSE="atm nis"
14
15 SRC_URI="mirror://gentoo/${UBIN}.tar.bz2
16 mirror://gentoo/${CONTRIB}.tar.bz2
17 mirror://gentoo/${LIB}.tar.bz2
18 mirror://gentoo/${BIN}.tar.bz2
19 mirror://gentoo/${SBIN}.tar.bz2
20 mirror://gentoo/${USBIN}.tar.bz2
21 mirror://gentoo/${GNU}.tar.bz2
22 mirror://gentoo/${SYS}.tar.bz2
23 mirror://gentoo/${LIBEXEC}.tar.bz2
24 mirror://gentoo/${RESCUE}.tar.bz2"
25
26 RDEPEND=""
27 DEPEND="sys-devel/flex
28 =sys-freebsd/freebsd-lib-${RV}*[atm?]
29 =sys-freebsd/freebsd-sources-${RV}*
30 =sys-freebsd/freebsd-mk-defs-${RV}*"
31
32 S="${WORKDIR}/rescue"
33
34 pkg_setup() {
35 use atm || mymakeopts="${mymakeopts} NO_ATM= "
36 use nis || mymakeopts="${mymakeopts} NO_NIS= "
37
38 # append-flags -fno-stack-protector -fno-stack-protector-all
39 }
40
41 src_prepare() {
42 # As they are patches from ${WORKDIR} apply them by hand
43 cd "${WORKDIR}"
44 epatch "${FILESDIR}/${PN}"-5.4-gentoo.patch
45 epatch "${FILESDIR}/${PN}"-7.1-zlib.patch
46 }

  ViewVC Help
Powered by ViewVC 1.1.20