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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun May 24 11:24:01 2015 UTC (4 years, 4 months ago) by mgorny
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Remove 9.2. Part of https://github.com/gentoo/gentoo-portage-rsync-mirror/pull/126 by nigoro.

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

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.2_rc2.ebuild,v 1.1 2013/08/22 15:43:37 aballier 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
12 IUSE="build"
13 LICENSE="CDDL GPL-2"
14
15 if [[ ${PV} != *9999* ]]; then
16 KEYWORDS="~amd64-fbsd ~x86-fbsd"
17 SRC_URI="mirror://gentoo/${P}.tar.bz2
18 mirror://gentoo/${CONTRIB}.tar.bz2
19 mirror://gentoo/${UBIN}.tar.bz2
20 mirror://gentoo/${LIB}.tar.bz2
21 mirror://gentoo/${SBIN}.tar.bz2
22 mirror://gentoo/${SYS}.tar.bz2
23 build? ( mirror://gentoo/${INCLUDE}.tar.bz2 )"
24 fi
25
26 # sys is required.
27
28 RDEPEND="=sys-freebsd/freebsd-lib-${RV}*
29 =sys-freebsd/freebsd-libexec-${RV}*
30 build? ( sys-apps/baselayout )"
31
32 DEPEND="${RDEPEND}
33 =sys-freebsd/freebsd-mk-defs-${RV}*
34 !build? ( =sys-freebsd/freebsd-sources-${RV}* )"
35
36 S="${WORKDIR}/cddl"
37
38 PATCHES=(
39 "${FILESDIR}/${PN}-9.2-libpaths.patch"
40 "${FILESDIR}/${PN}-9.2-underlink.patch"
41 )
42
43 src_unpack() {
44 freebsd_src_unpack
45 # Link in include headers.
46 ln -s "/usr/include" "${WORKDIR}/include" || die "Symlinking /usr/include.."
47 }
48
49 src_install() {
50 # Install libraries proper place
51 local mylibdir=$(get_libdir)
52 mkinstall SHLIBDIR="/usr/${mylibdir}" LIBDIR="/usr/${mylibdir}" || die
53
54 gen_usr_ldscript -a avl nvpair umem uutil zfs zpool zfs_core
55
56 # Install zfs volinit script.
57 newinitd "${FILESDIR}"/zvol.initd-9.0 zvol
58
59 # Install zfs script
60 newinitd "${FILESDIR}"/zfs.initd zfs
61
62 keepdir /etc/zfs
63 }

  ViewVC Help
Powered by ViewVC 1.1.20