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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Tue Jun 18 23:19:54 2013 UTC (6 years, 3 months ago) by aballier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
remove old

(Portage version: 2.2.0_alpha180/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-7.2.ebuild,v 1.4 2013/02/07 01:05:36 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"
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}-7.1-libpaths.patch" )
37
38 pkg_setup() {
39 mymakeopts="${mymakeopts} NO_MANCOMPRESS= NO_INFOCOMPRESS= "
40 }
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 # This patch is against sys.
47 cd "${WORKDIR}"
48 epatch "${FILESDIR}/${PN}-7.1-xdr_header.patch"
49 }
50
51 src_compile() {
52 freebsd_src_compile
53 }
54
55 #src_install() {
56 #}

  ViewVC Help
Powered by ViewVC 1.1.20