initial commit
This commit is contained in:
4
sys-devel/spl/Manifest
Normal file
4
sys-devel/spl/Manifest
Normal file
@ -0,0 +1,4 @@
|
||||
AUX spl-0.6.0-includedir.patch 1179 RMD160 cade3b696d6981b2583cc5ae8ecf614d38ef2efc SHA1 2c5ce007df75a7a8425e1a28308eefdcb29446c2 SHA256 8d05fc006348264e1633e14b73e022d482164d6cefc8d2425faffc50d2346150
|
||||
DIST spl-0.6.0-rc5.tar.gz 438291 RMD160 c3534f67616c048dbb32696990fda0a3612f96bd SHA1 ae2619216e8cd0dfd1de39806a3c774c3376ec35 SHA256 98da0bf4ac45f281f87a4e0ca58938282d80518b7c6555e4bf0d4775a61dbac7
|
||||
EBUILD spl-0.6.0_rc5.ebuild 1007 RMD160 23c0bece949a8ec76a91d37891b49405d7c2b149 SHA1 13b87d1feeed5537e1682d13e407d60fba3d56e1 SHA256 0cffb12b3326db89e53e9a2df8b91a4d1a12e41b59cf2e765eeef1a15809db5e
|
||||
EBUILD spl-9999.ebuild 959 RMD160 8f041c628117303867bf3761b83c6d79e5144ef1 SHA1 6d6daf8f02664100b6fde7252f295b4f188d523b SHA256 bb075852989c2d9806b54e7c17d09748ecbbe5cf787944b292db9b92b8f52a9e
|
26
sys-devel/spl/files/spl-0.6.0-includedir.patch
Normal file
26
sys-devel/spl/files/spl-0.6.0-includedir.patch
Normal file
@ -0,0 +1,26 @@
|
||||
diff -urN spl-0.6.0-rc3.orig/include/Makefile.am spl-0.6.0-rc3/include/Makefile.am
|
||||
--- spl-0.6.0-rc3.orig/include/Makefile.am 2011-04-07 22:30:50.000000000 +0400
|
||||
+++ spl-0.6.0-rc3/include/Makefile.am 2011-04-12 03:12:40.000000000 +0400
|
||||
@@ -15,8 +15,7 @@
|
||||
noinst_HEADERS += $(top_srcdir)/include/vm/*.h
|
||||
|
||||
install-data-local:
|
||||
- destname=spl-$(SPL_META_VERSION)/$(LINUX_VERSION); \
|
||||
- instdest=$(DESTDIR)/usr/src/$$destname; \
|
||||
+ instdest=$(DESTDIR)/${includedir}/spl; \
|
||||
instfiles=`find . -name '*.h'`; \
|
||||
for instfile in $$instfiles; do \
|
||||
$(INSTALL) -D $$instfile $$instdest/$$instfile; \
|
||||
diff -urN spl-0.6.0-rc3.orig/Makefile.am spl-0.6.0-rc3/Makefile.am
|
||||
--- spl-0.6.0-rc3.orig/Makefile.am 2011-04-07 22:30:50.000000000 +0400
|
||||
+++ spl-0.6.0-rc3/Makefile.am 2011-04-12 03:12:22.000000000 +0400
|
||||
@@ -29,8 +29,7 @@
|
||||
|
||||
if CONFIG_KERNEL
|
||||
install-data-local:
|
||||
- destname=spl-$(SPL_META_VERSION)/$(LINUX_VERSION); \
|
||||
- instdest=$(DESTDIR)/usr/src/$$destname; \
|
||||
+ instdest=$(DESTDIR)/${includedir}/spl; \
|
||||
echo "$(SPL_META_VERSION)" >$$instdest/spl.release; \
|
||||
for instfile in $(noinst_HEADERS) module/$(LINUX_SYMBOLS); do \
|
||||
$(INSTALL) -D $$instfile $$instdest/$$instfile; \
|
46
sys-devel/spl/spl-0.6.0_rc5.ebuild
Normal file
46
sys-devel/spl/spl-0.6.0_rc5.ebuild
Normal file
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
WANT_AUTOMAKE="1.11"
|
||||
AT_M4DIR=./config # for aclocal called by eautoreconf
|
||||
inherit linux-info eutils autotools
|
||||
|
||||
DESCRIPTION="Solaris Porting Layer - a Linux kernel module providing some Solaris kernel APIs"
|
||||
HOMEPAGE="http://zfsonlinux.org"
|
||||
SRC_URI="http://github.com/downloads/zfsonlinux/${PN}/${P/_/-}.tar.gz"
|
||||
|
||||
LICENSE="|| ( GPL-2 GPL-3 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 -x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
virtual/linux-sources
|
||||
"
|
||||
RDEPEND=""
|
||||
|
||||
S="${WORKDIR}/${P/_/-}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-0.6.0-includedir.patch
|
||||
eautoreconf
|
||||
# cd "${WORKDIR}"
|
||||
# ./autogen.sh
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
set_arch_to_kernel
|
||||
econf \
|
||||
--with-config=all \
|
||||
--with-linux="${KERNEL_DIR}" \
|
||||
--with-linux-obj="${KERNEL_DIR}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die 'emake install failed'
|
||||
dosym /usr/include/spl/spl_config.h /usr/include/spl/module/spl_config.h \
|
||||
|| die
|
||||
}
|
43
sys-devel/spl/spl-9999.ebuild
Normal file
43
sys-devel/spl/spl-9999.ebuild
Normal file
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
WANT_AUTOMAKE="1.11"
|
||||
AT_M4DIR=./config # for aclocal called by eautoreconf
|
||||
inherit git-2 linux-info eutils autotools
|
||||
|
||||
DESCRIPTION="Solaris Porting Layer - a Linux kernel module providing some Solaris kernel APIs"
|
||||
HOMEPAGE="http://wiki.github.com/behlendorf/spl/"
|
||||
SRC_URI=""
|
||||
EGIT_REPO_URI="git://github.com/behlendorf/spl.git"
|
||||
|
||||
LICENSE="|| ( GPL-2 GPL-3 )"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
>=virtual/linux-sources-2.6
|
||||
"
|
||||
RDEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-0.6.0-includedir.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
set_arch_to_kernel
|
||||
econf \
|
||||
--with-config=all \
|
||||
--with-linux="${KERNEL_DIR}" \
|
||||
--with-linux-obj="${KERNEL_DIR}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die 'emake install failed'
|
||||
dosym /usr/include/spl/spl_config.h /usr/include/spl/module/spl_config.h \
|
||||
|| die
|
||||
}
|
Reference in New Issue
Block a user