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

Contents of /sys-freebsd/freebsd-cddl/freebsd-cddl-9.1_rc1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Jan 27 22:17:55 2013 UTC (6 years, 8 months ago) by aballier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
remove rc versions

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

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-cddl/freebsd-cddl-9.1_rc1.ebuild,v 1.1 2012/09/11 17:01:18 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 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/${SYS}.tar.bz2
23 mirror://gentoo/${INCLUDE}.tar.bz2 )"
24
25 # sys is required.
26
27 RDEPEND="=sys-freebsd/freebsd-lib-${RV}*
28 =sys-freebsd/freebsd-libexec-${RV}*
29 build? ( sys-apps/baselayout )
30 dev-libs/libelf"
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=( "${FILESDIR}/${PN}-9.0-bsdxml.patch"
39 "${FILESDIR}/${PN}-9.0-underlink.patch"
40 "${FILESDIR}/${PN}-9.0-libpaths.patch" )
41
42 src_unpack() {
43 freebsd_src_unpack
44 # Link in include headers.
45 ln -s "/usr/include" "${WORKDIR}/include" || die "Symlinking /usr/include.."
46 }
47
48 src_install() {
49 # Install libraries proper place
50 local mylibdir=$(get_libdir)
51 mkinstall SHLIBDIR="/usr/${mylibdir}" LIBDIR="/usr/${mylibdir}" || die
52
53 gen_usr_ldscript -a avl nvpair umem uutil zfs zpool
54
55 # Install zfs volinit script.
56 newinitd "${FILESDIR}"/zvol.initd-9.0 zvol
57
58 # Install zfs script
59 newinitd "${FILESDIR}"/zfs.initd zfs
60
61 keepdir /etc/zfs
62 }

  ViewVC Help
Powered by ViewVC 1.1.20