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

Contents of /sys-freebsd/freebsd-cddl/freebsd-cddl-7.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Mar 11 10:58:55 2010 UTC (9 years, 7 months ago) by aballier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
remove old
(Portage version: 2.2_rc67/cvs/Linux x86_64)

1 # Copyright 1999-2009 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.1-r1.ebuild,v 1.1 2009/02/05 07:38:57 the_paya 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/${SYS}.tar.bz2
21 mirror://gentoo/${INCLUDE}.tar.bz2 )"
22
23 # sys is required.
24
25 RDEPEND="=sys-freebsd/freebsd-lib-${RV}*
26 =sys-freebsd/freebsd-libexec-${RV}*
27 build? ( sys-apps/baselayout )
28 dev-libs/libedit
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}-7.1-libpaths.patch"
38
39 pkg_setup() {
40 mymakeopts="${mymakeopts} NO_MANCOMPRESS= NO_INFOCOMPRESS= "
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 # This patch is against sys.
48 cd "${WORKDIR}"
49 epatch "${FILESDIR}/${PN}-7.1-xdr_header.patch"
50 }
51
52 src_compile() {
53 freebsd_src_compile
54 }
55
56 #src_install() {
57 #}

  ViewVC Help
Powered by ViewVC 1.1.20