diff options
author | manu <manu@pkgsrc.org> | 2003-09-28 23:33:52 +0000 |
---|---|---|
committer | manu <manu@pkgsrc.org> | 2003-09-28 23:33:52 +0000 |
commit | 9e9621bacf0d6a9e56e3a59fc2fa5e8a0cbf646f (patch) | |
tree | 35beb8e5bd34b7b37bcecf1c1e59ea8962343b13 /emulators | |
parent | 240dc4f2ef5b36bdf0bfae2691347c9e7a6cf92b (diff) | |
download | pkgsrc-9e9621bacf0d6a9e56e3a59fc2fa5e8a0cbf646f.tar.gz |
Darwin library package for COMPAT_DARWIN, work from James Whitwell
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/Makefile | 3 | ||||
-rw-r--r-- | emulators/darwin_lib/DESCR | 5 | ||||
-rw-r--r-- | emulators/darwin_lib/Makefile | 47 | ||||
-rw-r--r-- | emulators/darwin_lib/distinfo | 14 |
4 files changed, 68 insertions, 1 deletions
diff --git a/emulators/Makefile b/emulators/Makefile index ebb272b8bf0..0d22b7445e3 100644 --- a/emulators/Makefile +++ b/emulators/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.87 2003/09/25 04:54:08 xtraeme Exp $ +# $NetBSD: Makefile,v 1.88 2003/09/28 23:35:28 manu Exp $ # COMMENT= Emulators for other operating systems @@ -13,6 +13,7 @@ SUBDIR+= compat13 SUBDIR+= compat14 SUBDIR+= compat14-crypto SUBDIR+= darcnes +SUBDIR+= darwin_lib SUBDIR+= dega SUBDIR+= dgen SUBDIR+= dosbox diff --git a/emulators/darwin_lib/DESCR b/emulators/darwin_lib/DESCR new file mode 100644 index 00000000000..0efd36eac58 --- /dev/null +++ b/emulators/darwin_lib/DESCR @@ -0,0 +1,5 @@ +These libraries are part of the Darwin compatibility option for +NetBSD/powerpc and NetBSD/i386. + +The kernel options `EXEC_MACHO', `COMPAT_MACH' and `COMPAT_DARWIN' +must be in your kernel config file for this to work. diff --git a/emulators/darwin_lib/Makefile b/emulators/darwin_lib/Makefile new file mode 100644 index 00000000000..17fbdf5bb27 --- /dev/null +++ b/emulators/darwin_lib/Makefile @@ -0,0 +1,47 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/09/28 23:33:52 manu Exp $ + +DISTNAME= darwin_lib-6.6.2 +CATEGORIES= emulators +MASTER_SITES= http://www.opendarwin.org/downloads/6.6.2/RPMS/ \ + http://www.opendarwin.org/downloads/6.6.2/RPMS/${DARWIN_ARCH}/ +DISTFILES= org.opendarwin.Libsystem-6.6.2-4.fat.rpm \ + org.opendarwin.Libm-6.6.2-4.fat.rpm \ + org.opendarwin.cctools-6.6.2-4.fat.rpm \ + org.opendarwin.ncurses-6.6.2-4.fat.rpm \ + org.opendarwin.IOKitUser-6.6.2-4.fat.rpm \ + org.opendarwin.XFree86-6.6.2-4.${DARWIN_ARCH}.rpm + +MAINTAINER= abacau@yahoo.com.au +HOMEPAGE= http://www.opendarwin.org/ +COMMENT= Darwin compatiblity libraries (including X11) + +BUILD_DEPENDS= rpm2pkg>=1.3:../../pkgtools/rpm2pkg + +ONLY_FOR_PLATFORM= NetBSD-1.6Z*-powerpc NetBSD-1.6Z*-i386 \ + NetBSD-[2-9]*-powerpc NetBSD-[2-9]*-i386 + +PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC + +DARWIN_ARCH= ${MACHINE_ARCH:C/powerpc/ppc/} + +RPM2PKG= rpm2pkg +RPMARGS= -d ${PREFIX} -f ${PLIST_SRC} -p emul/darwin -i ./Developer \ + -i ./usr/X11R6/lib/X11/doc/html -i ./usr/share/man \ + -i ./usr/include -i ./usr/X11R6/man -i ./usr/X11R6/include \ + -i ./usr/local/include -i ./usr/local/man +.for TEMP in ${DISTFILES} +RPMARGS+= ${DISTDIR}/${TEMP} +.endfor + +EXTRACT_ONLY= # empty +NO_BUILD= 1 + +do-install: + ${RM} -f ${WRKDIR}/PLIST_DYNAMIC + ${RPM2PKG} ${RPMARGS} + ${MKDIR} /emul + # Avoid a symlink left from a previous installation + ${TEST} -L /emul/darwin && ${RM} /emul/darwin || ${TRUE} + ${LN} -sf ${PREFIX}/emul/darwin /emul/darwin + +.include "../../mk/bsd.pkg.mk" diff --git a/emulators/darwin_lib/distinfo b/emulators/darwin_lib/distinfo new file mode 100644 index 00000000000..6f1786dd45d --- /dev/null +++ b/emulators/darwin_lib/distinfo @@ -0,0 +1,14 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/09/28 23:33:52 manu Exp $ + +SHA1 (org.opendarwin.Libsystem-6.6.2-4.fat.rpm) = 933ede3dd6ea4188e66529ed9378db92c1934e0b +Size (org.opendarwin.Libsystem-6.6.2-4.fat.rpm) = 6155242 bytes +SHA1 (org.opendarwin.Libm-6.6.2-4.fat.rpm) = 5a7a7311e929a8f4867f0c7bd43c64e7fe450b08 +Size (org.opendarwin.Libm-6.6.2-4.fat.rpm) = 463844 bytes +SHA1 (org.opendarwin.cctools-6.6.2-4.fat.rpm) = 13c4d5a19ee63c008e11ef950b8d0c1b34852d3f +Size (org.opendarwin.cctools-6.6.2-4.fat.rpm) = 5060022 bytes +SHA1 (org.opendarwin.ncurses-6.6.2-4.fat.rpm) = e20ffe8d410f456fe59ff27f4759a3f02869146c +Size (org.opendarwin.ncurses-6.6.2-4.fat.rpm) = 1653506 bytes +SHA1 (org.opendarwin.IOKitUser-6.6.2-4.fat.rpm) = 34199c0e0fc298df262c04886b0fce8fa9ea5e66 +Size (org.opendarwin.IOKitUser-6.6.2-4.fat.rpm) = 418276 bytes +SHA1 (org.opendarwin.XFree86-6.6.2-4.ppc.rpm) = 1988a42ce40f43138636bb43f3882a299c772222 +Size (org.opendarwin.XFree86-6.6.2-4.ppc.rpm) = 49851200 bytes |