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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Fri Aug 9 15:08:56 2013 UTC (6 years, 2 months ago) by aballier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +1 -1 lines
FILE REMOVED
remove old

(Portage version: 2.2.0_alpha196/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-cddl/freebsd-cddl-9.0.ebuild,v 1.10 2013/02/07 01:05:36 naota Exp $
4
5 EAPI=4
6
7 inherit bsdmk freebsd toolchain-funcs multilib
8
9 DESCRIPTION="FreeBSD CDDL (opensolaris/zfs) extra software"
10 SLOT="0"
11 KEYWORDS="~amd64-fbsd ~x86-fbsd"
12
13 IUSE="build"
14 LICENSE="CDDL GPL-2"
15
16 SRC_URI="mirror://gentoo/${P}.tar.bz2
17 mirror://gentoo/${CONTRIB}.tar.bz2
18 mirror://gentoo/${UBIN}.tar.bz2
19 mirror://gentoo/${LIB}.tar.bz2
20 mirror://gentoo/${SBIN}.tar.bz2
21 mirror://gentoo/${SYS}.tar.bz2
22 build? ( mirror://gentoo/${INCLUDE}.tar.bz2 )"
23
24 # sys is required.
25
26 RDEPEND="=sys-freebsd/freebsd-lib-${RV}*
27 =sys-freebsd/freebsd-libexec-${RV}*
28 build? ( sys-apps/baselayout )
29 dev-libs/libelf"
30
31 DEPEND="${RDEPEND}
32 =sys-freebsd/freebsd-mk-defs-${RV}*
33 !build? ( =sys-freebsd/freebsd-sources-${RV}* )"
34
35 S="${WORKDIR}/cddl"
36
37 PATCHES=( "${FILESDIR}/${PN}-9.0-bsdxml.patch"
38 "${FILESDIR}/${PN}-9.0-underlink.patch"
39 "${FILESDIR}/${PN}-9.0-libpaths.patch" )
40
41 src_unpack() {
42 freebsd_src_unpack
43 # Link in include headers.
44 ln -s "/usr/include" "${WORKDIR}/include" || die "Symlinking /usr/include.."
45 }
46
47 src_install() {
48 # Install libraries proper place
49 local mylibdir=$(get_libdir)
50 mkinstall SHLIBDIR="/usr/${mylibdir}" LIBDIR="/usr/${mylibdir}" || die
51
52 gen_usr_ldscript -a avl nvpair umem uutil zfs zpool
53
54 # Install zfs volinit script.
55 newinitd "${FILESDIR}"/zvol.initd-9.0 zvol
56
57 # Install zfs script
58 newinitd "${FILESDIR}"/zfs.initd zfs
59
60 keepdir /etc/zfs
61 }

  ViewVC Help
Powered by ViewVC 1.1.20