summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2009-05-22 11:14:47 +0000
committerAlexis Ballier <aballier@gentoo.org>2009-05-22 11:14:47 +0000
commitfda677117c5a29f8c76eec208441f98ec5ae8abb (patch)
treee332e7ac673e428d6f85055e0eff1833f647461f /sys-freebsd/freebsd-cddl/freebsd-cddl-7.2.ebuild
parentVersion bump. Cleanup (diff)
downloadhistorical-fda677117c5a29f8c76eec208441f98ec5ae8abb.tar.gz
historical-fda677117c5a29f8c76eec208441f98ec5ae8abb.tar.bz2
historical-fda677117c5a29f8c76eec208441f98ec5ae8abb.zip
bump to 7.2
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'sys-freebsd/freebsd-cddl/freebsd-cddl-7.2.ebuild')
-rw-r--r--sys-freebsd/freebsd-cddl/freebsd-cddl-7.2.ebuild57
1 files changed, 57 insertions, 0 deletions
diff --git a/sys-freebsd/freebsd-cddl/freebsd-cddl-7.2.ebuild b/sys-freebsd/freebsd-cddl/freebsd-cddl-7.2.ebuild
new file mode 100644
index 000000000000..182c966287ae
--- /dev/null
+++ b/sys-freebsd/freebsd-cddl/freebsd-cddl-7.2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-cddl/freebsd-cddl-7.2.ebuild,v 1.1 2009/05/22 11:13:40 aballier Exp $
+
+inherit bsdmk freebsd flag-o-matic eutils
+
+DESCRIPTION="FreeBSD CDDL (opensolaris/zfs) extra software"
+SLOT="0"
+KEYWORDS="~x86-fbsd"
+
+IUSE="build"
+LICENSE="CDDL"
+
+SRC_URI="mirror://gentoo/${P}.tar.bz2
+ mirror://gentoo/${CONTRIB}.tar.bz2
+ mirror://gentoo/${UBIN}.tar.bz2
+ mirror://gentoo/${LIB}.tar.bz2
+ mirror://gentoo/${SBIN}.tar.bz2
+ mirror://gentoo/${SYS}.tar.bz2
+ build? ( mirror://gentoo/${SYS}.tar.bz2
+ mirror://gentoo/${INCLUDE}.tar.bz2 )"
+
+# sys is required.
+
+RDEPEND="=sys-freebsd/freebsd-lib-${RV}*
+ =sys-freebsd/freebsd-libexec-${RV}*
+ build? ( sys-apps/baselayout )
+ dev-libs/libedit
+ dev-libs/libelf"
+
+DEPEND="${RDEPEND}
+ =sys-freebsd/freebsd-mk-defs-${RV}*
+ !build? ( =sys-freebsd/freebsd-sources-${RV}* )"
+
+S="${WORKDIR}/cddl"
+
+PATCHES="${FILESDIR}/${PN}-7.1-libpaths.patch"
+
+pkg_setup() {
+ mymakeopts="${mymakeopts} NO_MANCOMPRESS= NO_INFOCOMPRESS= "
+}
+
+src_unpack() {
+ freebsd_src_unpack
+ # Link in include headers.
+ ln -s "/usr/include" "${WORKDIR}/include" || die "Symlinking /usr/include.."
+ # This patch is against sys.
+ cd "${WORKDIR}"
+ epatch "${FILESDIR}/${PN}-7.1-xdr_header.patch"
+}
+
+src_compile() {
+ freebsd_src_compile
+}
+
+#src_install() {
+#}