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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri May 22 14:13:47 2009 UTC (10 years, 5 months ago) by aballier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
remove old
(Portage version: 2.2_rc33/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.ebuild,v 1.2 2009/01/25 15:12:16 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
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