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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed May 2 21:41:15 2012 UTC (2 years, 4 months ago) by jdhore
Branch: MAIN
Changes since 1.1: +3 -3 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

1 # Copyright 1999-2012 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-8.0.ebuild,v 1.1 2010/03/19 11:50:47 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 LICENSE="BSD zfs? ( CDDL )"
13
14 IUSE="atm nis zfs"
15
16 SRC_URI="mirror://gentoo/${UBIN}.tar.bz2
17 mirror://gentoo/${CONTRIB}.tar.bz2
18 mirror://gentoo/${LIB}.tar.bz2
19 mirror://gentoo/${BIN}.tar.bz2
20 mirror://gentoo/${SBIN}.tar.bz2
21 mirror://gentoo/${USBIN}.tar.bz2
22 mirror://gentoo/${GNU}.tar.bz2
23 mirror://gentoo/${SYS}.tar.bz2
24 mirror://gentoo/${LIBEXEC}.tar.bz2
25 mirror://gentoo/${RESCUE}.tar.bz2
26 zfs? ( mirror://gentoo/${CDDL}.tar.bz2 )"
27
28 RDEPEND=""
29 DEPEND="sys-devel/flex
30 >=app-arch/libarchive-2.7.1[static-libs]
31 virtual/pkgconfig
32 =sys-freebsd/freebsd-lib-${RV}*[atm?]
33 =sys-freebsd/freebsd-sources-${RV}*
34 =sys-freebsd/freebsd-mk-defs-${RV}*"
35
36 S="${WORKDIR}/rescue"
37
38 pkg_setup() {
39 use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= "
40 use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= "
41 use zfs || mymakeopts="${mymakeopts} WITHOUT_CDDL= "
42 }
43
44 src_prepare() {
45 # As they are patches from ${WORKDIR} apply them by hand
46 cd "${WORKDIR}"
47 epatch "${FILESDIR}/${PN}"-8.0-pkgconfig_static_libarchive.patch
48 epatch "${FILESDIR}/${PN}"-7.1-zlib.patch
49 }

  ViewVC Help
Powered by ViewVC 1.1.20