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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed May 2 21:41:15 2012 UTC (2 years, 7 months ago) by jdhore
Branch: MAIN
Changes since 1.2: +2 -2 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-9.0.ebuild,v 1.2 2012/04/23 17:34:53 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 netware 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 app-arch/xz-utils[static-libs]
32 sys-libs/ncurses[static-libs]
33 dev-libs/expat[static-libs]
34 app-arch/bzip2[static-libs]
35 dev-libs/libxml2:2[static-libs]
36 dev-libs/openssl[static-libs]
37 sys-libs/zlib[static-libs]
38 sys-libs/readline[static-libs]
39 virtual/pkgconfig
40 =sys-freebsd/freebsd-lib-${RV}*[atm?,netware?]
41 =sys-freebsd/freebsd-sources-${RV}*
42 =sys-freebsd/freebsd-mk-defs-${RV}*"
43
44 S="${WORKDIR}/rescue"
45
46 pkg_setup() {
47 use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= "
48 use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= "
49 use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= "
50 use zfs || mymakeopts="${mymakeopts} WITHOUT_CDDL= "
51 }
52
53 src_prepare() {
54 # As they are patches from ${WORKDIR} apply them by hand
55 cd "${WORKDIR}"
56 epatch "${FILESDIR}/${PN}"-8.0-pkgconfig_static_libarchive.patch
57 epatch "${FILESDIR}/${PN}"-7.1-zlib.patch
58 epatch "${FILESDIR}/${PN}"-8.2-libzcleverlink.patch
59 epatch "${FILESDIR}/freebsd-sbin-bsdxml2expat.patch"
60 }

  ViewVC Help
Powered by ViewVC 1.1.20