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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu Feb 7 01:05:36 2013 UTC (6 years, 8 months ago) by naota
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +3 -4 lines
Drop useless duplicated SYS tar.bz2 from SRC_URI. #455228

(Portage version: 2.2.0_alpha159/cvs/Linux x86_64, signed Manifest commit with key F8551514)

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-8.2.ebuild,v 1.2 2012/08/20 06:18:40 naota 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 GPL-2"
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/${INCLUDE}.tar.bz2 )"
21
22 # sys is required.
23
24 RDEPEND="=sys-freebsd/freebsd-lib-${RV}*
25 =sys-freebsd/freebsd-libexec-${RV}*
26 build? ( sys-apps/baselayout )
27 dev-libs/libedit
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}-8.0-libpaths.patch" "${FILESDIR}/${PN}-8.2-libpaths.patch" )
37
38 src_unpack() {
39 freebsd_src_unpack
40 # Link in include headers.
41 ln -s "/usr/include" "${WORKDIR}/include" || die "Symlinking /usr/include.."
42 }
43
44 src_install() {
45 freebsd_src_install
46 # Install zfs volinit script.
47 newinitd "${FILESDIR}"/zvol.initd zvol
48 }

  ViewVC Help
Powered by ViewVC 1.1.20