Subject: pkg/8264: emulators/suse_devel
To: None <gnats-bugs@gnats.netbsd.org>
From: Dr. Lex Wennmacher <wennmach@geo.Uni-Koeln.DE>
List: netbsd-bugs
Date: 08/24/1999 11:58:56
>Number:         8264
>Category:       pkg
>Synopsis:       emulators/suse_devel pkg
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager (NetBSD software packages system bug manager)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 24 10:20:01 1999
>Last-Modified:
>Originator:     Dr. Lex Wennmacher
>Organization:
Dr. Alexandre Wennmacher
Institut fuer Geophysik und Meteorologie         wennmach@geo.Uni-Koeln.DE
Universitaet zu Koeln                            phone  +49 221 470 - 3387
D-50923 Koeln                                    fax    +49 221 470 - 5198
>Release:        <NetBSD-current source date> NetBSD-1.4
>Environment:
	
System: NetBSD hal 1.4 NetBSD 1.4 (HAL) #2: Sat Jun 5 23:50:38 MEST 1999 wennmach@hal:/usr/src/sys/arch/i386/compile/HAL i386


>Description:
	
I have prepared the Linux toolchain as a package, pkgsrc/emulators/suse_devel.
This package is needed in order for the VAST f90 compiler under Linux
emulation to work. (I'll send this compiler as a package in a moment, too).

Could somebody please check and commit (tron?).
>How-To-Repeat:
	
N/A
>Fix:
	

# Unpack this shell archive in pkgsrc/emulators/suse_devel.
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	.
#	./files
#	./files/md5
#	./pkg
#	./pkg/COMMENT
#	./pkg/DESCR
#	./pkg/PLIST
#	./Makefile
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo c - ./files
mkdir -p ./files > /dev/null 2>&1
echo x - ./files/md5
sed 's/^X//' >./files/md5 << 'END-of-./files/md5'
X$NetBSD$
X
XMD5 (suse/binutils.rpm) = 7caae57b860869d58068e9003f871263
XMD5 (suse/egcs.rpm) = 349330e337a3bd742da5264a95e25d4c
XMD5 (suse/g77.rpm) = b5b7eccd31975ded722c79f8a72cedf3
XMD5 (suse/libc.rpm) = ec6f80e89a3dfb72cfd394fee1862092
END-of-./files/md5
echo c - ./pkg
mkdir -p ./pkg > /dev/null 2>&1
echo x - ./pkg/COMMENT
sed 's/^X//' >./pkg/COMMENT << 'END-of-./pkg/COMMENT'
XLinux compatibility package - development tools
END-of-./pkg/COMMENT
echo x - ./pkg/DESCR
sed 's/^X//' >./pkg/DESCR << 'END-of-./pkg/DESCR'
XLinux compatibility package based on the SuSE Linux distribution, take a
Xlook at "http://www.suse.com/" for more information about it.
X
XThis package supports running ELF binaries linked with glibc2 which don't
Xrequire X11 shared libraries.
END-of-./pkg/DESCR
echo x - ./pkg/PLIST
sed 's/^X//' >./pkg/PLIST << 'END-of-./pkg/PLIST'
X@comment $NetBSD$
END-of-./pkg/PLIST
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# $NetBSD$
X
XDISTNAME=		suse_devel-6.1
XCATEGORIES=		emulators
XMASTER_SITES=		ftp://ftp.suse.com/pub/suse/i386/6.1/suse/d1/ \
X			ftp://ftp.cs.unm.edu/mirrors/SuSE61/suse/d1/
XDISTFILES=		binutils.rpm egcs.rpm g77.rpm libc.rpm
X
XMAINTAINER=		wennmach@geo.Uni-Koeln.DE
XHOMEPAGE=		http://www.suse.com/
X
XDEPENDS=		suse_base-6.1:../suse_base
X
XCONFLICTS=		linux_SuSE-5.3 linux_lib-2.4
X
XONLY_FOR_PLATFORM=	NetBSD-*-i386
X
XDIST_SUBDIR=		suse
XMIRROR_DISTFILE= 	no
X
XEXTRACT_ONLY=		# empty
XNO_BUILD=               yes
XNO_WRKSUBDIR=		yes
XMANCOMPRESSED=		yes
XPLIST_SRC=		${WRKDIR}/PLIST_DYNAMIC
X
XEMULSUBDIR=		emul/linux
XEMULDIR=		${PREFIX}/${EMULSUBDIR}
XSBINDIR=		${PREFIX}/sbin
X
Xdo-install:
X	cd ${_DISTDIR} && \
X	${SBINDIR}/rpm2pkg ${DISTFILES} >${PLIST_SRC}
X	@${ECHO} "@exec %D/${EMULSUBDIR}/sbin/ldconfig -r %D/${EMULSUBDIR}" >>${PLIST_SRC}
X	${EMULDIR}/sbin/ldconfig -r ${EMULDIR} || ${TRUE}
X
Xshow-shlib-type:
X	@${ECHO} linux-${MACHINE_ARCH}
X
X.include "../../mk/bsd.pkg.mk"
END-of-./Makefile
exit

>Audit-Trail:
>Unformatted: