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

Contents of /sys-freebsd/freebsd-cddl/freebsd-cddl-9.0_rc2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Mar 30 15:44:49 2012 UTC (7 years, 6 months ago) by aballier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
remove old

(Portage version: 2.2.0_alpha96/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-cddl/freebsd-cddl-9.0_rc2.ebuild,v 1.1 2011/12/07 17:05:37 aballier Exp $
4
5 inherit bsdmk freebsd flag-o-matic eutils
6
7 DESCRIPTION="FreeBSD CDDL (opensolaris/zfs) extra software"
8 SLOT="0"
9 KEYWORDS="~x86-fbsd"
10
11 IUSE="build"
12 LICENSE="CDDL"
13
14 SRC_URI="mirror://gentoo/${P}.tar.bz2
15 mirror://gentoo/${CONTRIB}.tar.bz2
16 mirror://gentoo/${UBIN}.tar.bz2
17 mirror://gentoo/${LIB}.tar.bz2
18 mirror://gentoo/${SBIN}.tar.bz2
19 mirror://gentoo/${SYS}.tar.bz2
20 build? ( mirror://gentoo/${SYS}.tar.bz2
21 mirror://gentoo/${INCLUDE}.tar.bz2 )"
22
23 # sys is required.
24
25 RDEPEND="=sys-freebsd/freebsd-lib-${RV}*
26 =sys-freebsd/freebsd-libexec-${RV}*
27 build? ( sys-apps/baselayout )
28 dev-libs/libelf"
29
30 DEPEND="${RDEPEND}
31 =sys-freebsd/freebsd-mk-defs-${RV}*
32 !build? ( =sys-freebsd/freebsd-sources-${RV}* )"
33
34 S="${WORKDIR}/cddl"
35
36 PATCHES=( "${FILESDIR}/${PN}-9.0-bsdxml.patch"
37 "${FILESDIR}/${PN}-9.0-underlink.patch" )
38
39 src_unpack() {
40 freebsd_src_unpack
41 # Link in include headers.
42 ln -s "/usr/include" "${WORKDIR}/include" || die "Symlinking /usr/include.."
43 # Force linking to new libraries
44 for i in "${S}/lib/"lib* ; do
45 append-ldflags " -L${i}"
46 done
47 }
48
49 src_install() {
50 freebsd_src_install
51 # Install zfs volinit script.
52 newinitd "${FILESDIR}"/zvol.initd zvol
53 }

  ViewVC Help
Powered by ViewVC 1.1.20