summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-freebsd/freebsd-rescue/freebsd-rescue-7.0_pre200704.ebuild')
-rw-r--r--sys-freebsd/freebsd-rescue/freebsd-rescue-7.0_pre200704.ebuild51
1 files changed, 51 insertions, 0 deletions
diff --git a/sys-freebsd/freebsd-rescue/freebsd-rescue-7.0_pre200704.ebuild b/sys-freebsd/freebsd-rescue/freebsd-rescue-7.0_pre200704.ebuild
new file mode 100644
index 0000000..e29835e
--- /dev/null
+++ b/sys-freebsd/freebsd-rescue/freebsd-rescue-7.0_pre200704.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-rescue/freebsd-rescue-6.2.ebuild,v 1.1 2007/01/15 21:38:18 drizzt Exp $
+
+inherit bsdmk freebsd
+
+DESCRIPTION="FreeBSD's rescue binaries"
+SLOT="0"
+KEYWORDS="~x86-fbsd"
+
+IUSE="atm nis"
+
+SRC_URI="http://84.33.1.46/~drizzt/stages/${UBIN}.tar.bz2
+ http://84.33.1.46/~drizzt/stages/${CONTRIB}.tar.bz2
+ http://84.33.1.46/~drizzt/stages/${LIB}.tar.bz2
+ http://84.33.1.46/~drizzt/stages/${BIN}.tar.bz2
+ http://84.33.1.46/~drizzt/stages/${SBIN}.tar.bz2
+ http://84.33.1.46/~drizzt/stages/${USBIN}.tar.bz2
+ http://84.33.1.46/~drizzt/stages/${GNU}.tar.bz2
+ http://84.33.1.46/~drizzt/stages/${SYS}.tar.bz2
+ http://84.33.1.46/~drizzt/stages/${LIBEXEC}.tar.bz2
+ http://84.33.1.46/~drizzt/stages/${RESCUE}.tar.bz2"
+
+RDEPEND=""
+DEPEND="sys-devel/flex
+ =sys-freebsd/freebsd-sources-${RV}*
+ =sys-freebsd/freebsd-mk-defs-${RV}*"
+
+S="${WORKDIR}/rescue"
+
+pkg_setup() {
+ use atm || mymakeopts="${mymakeopts} NO_ATM= "
+ use nis || mymakeopts="${mymakeopts} NO_NIS= "
+
+ for flag in atm nis; do
+ if use ${flag} && ! built_with_use sys-libs/freebsd-lib ${flag}; then
+ die "You can't add ${flag} support here without adding it to sys-libs/freebsd-lib"
+ fi
+ done
+
+# append-flags -fno-stack-protector -fno-stack-protector-all
+}
+
+src_unpack() {
+ freebsd_src_unpack
+
+ # As they are patches from ${WORKDIR} apply them by hand
+ cd ${WORKDIR}
+ epatch ${FILESDIR}/${PN}-5.4-gentoo.patch
+ epatch ${FILESDIR}/${PN}-5.4-sbin-gentoo.patch
+}