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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Jan 27 21:27:12 2013 UTC (19 months ago) by aballier
Branch: MAIN
CVS Tags: HEAD
Bump to 9.1

(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key 160F534A)

1 # Copyright 1999-2013 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.1_rc3.ebuild,v 1.1 2012/11/06 12:56:36 aballier Exp $
4
5 EAPI=2
6
7 inherit bsdmk freebsd
8
9 DESCRIPTION="FreeBSD's rescue binaries"
10 SLOT="0"
11 KEYWORDS="~amd64-fbsd ~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-3.0.3[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/libedit[static-libs]
36 dev-libs/libxml2:2[static-libs]
37 dev-libs/openssl[static-libs]
38 sys-libs/zlib[static-libs]
39 sys-libs/readline[static-libs]
40 virtual/pkgconfig
41 =sys-freebsd/freebsd-lib-${RV}*[atm?,netware?]
42 =sys-freebsd/freebsd-sources-${RV}*
43 =sys-freebsd/freebsd-mk-defs-${RV}*"
44
45 S="${WORKDIR}/rescue"
46
47 pkg_setup() {
48 use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= "
49 use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= "
50 use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= "
51 use zfs || mymakeopts="${mymakeopts} WITHOUT_CDDL= "
52 }
53
54 src_prepare() {
55 # As they are patches from ${WORKDIR} apply them by hand
56 cd "${WORKDIR}"
57 epatch "${FILESDIR}/${PN}"-8.0-pkgconfig_static_libarchive.patch
58 epatch "${FILESDIR}/${PN}"-7.1-zlib.patch
59 epatch "${FILESDIR}/${PN}"-9.1-libcleverlink.patch
60 epatch "${FILESDIR}/${PN}"-9.1-bsdtar.patch
61 epatch "${FILESDIR}/freebsd-sbin-bsdxml2expat.patch"
62 }

  ViewVC Help
Powered by ViewVC 1.1.20