[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

shade preview for linux



Shade for Linux Preview Kitのpkgです。
多分ちゃんと動いていると思います...

sakamoto
--
# 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:
#
#	emulators/suse_tcl
#	emulators/suse_tcl/pkg
#	emulators/suse_tcl/pkg/COMMENT
#	emulators/suse_tcl/pkg/DESCR
#	emulators/suse_tcl/files
#	emulators/suse_tcl/files/md5
#	emulators/suse_tcl/Makefile
#	graphics/shade-preview
#	graphics/shade-preview/pkg
#	graphics/shade-preview/pkg/COMMENT
#	graphics/shade-preview/pkg/DESCR
#	graphics/shade-preview/files
#	graphics/shade-preview/files/md5
#	graphics/shade-preview/files/shade
#	graphics/shade-preview/files/__bzero.c
#	graphics/shade-preview/Makefile
#
echo c - emulators/suse_tcl
mkdir -p emulators/suse_tcl > /dev/null 2>&1
echo c - emulators/suse_tcl/pkg
mkdir -p emulators/suse_tcl/pkg > /dev/null 2>&1
echo x - emulators/suse_tcl/pkg/COMMENT
sed 's/^X//' >emulators/suse_tcl/pkg/COMMENT << 'END-of-emulators/suse_tcl/pkg/COMMENT'
XLinux compatibility package for tcl.
END-of-emulators/suse_tcl/pkg/COMMENT
echo x - emulators/suse_tcl/pkg/DESCR
sed 's/^X//' >emulators/suse_tcl/pkg/DESCR << 'END-of-emulators/suse_tcl/pkg/DESCR'
XLinux compatibility package based on the SuSE Linux distribution, take a
Xlook at "http://www.suse.com/" for more information about it.
END-of-emulators/suse_tcl/pkg/DESCR
echo c - emulators/suse_tcl/files
mkdir -p emulators/suse_tcl/files > /dev/null 2>&1
echo x - emulators/suse_tcl/files/md5
sed 's/^X//' >emulators/suse_tcl/files/md5 << 'END-of-emulators/suse_tcl/files/md5'
X$NetBSD$
X
XMD5 (suse/tcl.rpm) = 3f612c9b13e1733e523f3fa6ba5db903
END-of-emulators/suse_tcl/files/md5
echo x - emulators/suse_tcl/Makefile
sed 's/^X//' >emulators/suse_tcl/Makefile << 'END-of-emulators/suse_tcl/Makefile'
X# $NetBSD: Makefile,v 1.8 1999/10/07 17:41:52 tron Exp $
X
XDISTNAME=		suse_tcl-6.1p1
XCATEGORIES=		emulators
XMASTER_SITES=		${MASTER_SITE_SUSE:=tcl1/}
XDISTFILES=		${RPMFILES}
X
XMAINTAINER=		packages@netbsd.org
XHOMEPAGE=		http://www.suse.com/
X
XDEPENDS+=		suse_base-6.1p1:../suse_base
X
XEXTRACT_ONLY=		# empty
XNO_BUILD=		yes
XPLIST_SRC=		${WRKDIR}/PLIST_DYNAMIC
X
XRPMFILES=		tcl.rpm
X
Xpost-install:
X	${LN} -s libtcl7.6.so ${EMULDIR}/usr/lib/libtcl.so
X	@${ECHO} ${EMULSUBDIR}/usr/lib/libtcl.so >> ${PLIST_SRC}
X
X.include "../suse_linux/suse.mk"
END-of-emulators/suse_tcl/Makefile
echo c - graphics/shade-preview
mkdir -p graphics/shade-preview > /dev/null 2>&1
echo c - graphics/shade-preview/pkg
mkdir -p graphics/shade-preview/pkg > /dev/null 2>&1
echo x - graphics/shade-preview/pkg/COMMENT
sed 's/^X//' >graphics/shade-preview/pkg/COMMENT << 'END-of-graphics/shade-preview/pkg/COMMENT'
XShade for Linux Preview Kit
END-of-graphics/shade-preview/pkg/COMMENT
echo x - graphics/shade-preview/pkg/DESCR
sed 's/^X//' >graphics/shade-preview/pkg/DESCR << 'END-of-graphics/shade-preview/pkg/DESCR'
XShade for Linux Preview Kit
END-of-graphics/shade-preview/pkg/DESCR
echo c - graphics/shade-preview/files
mkdir -p graphics/shade-preview/files > /dev/null 2>&1
echo x - graphics/shade-preview/files/md5
sed 's/^X//' >graphics/shade-preview/files/md5 << 'END-of-graphics/shade-preview/files/md5'
X$NetBSD$
X
XMD5 (shade-r4rev12-28107.i386.rpm) = bcbe738c279e5d90f84c7ac7e895df40
END-of-graphics/shade-preview/files/md5
echo x - graphics/shade-preview/files/shade
sed 's/^X//' >graphics/shade-preview/files/shade << 'END-of-graphics/shade-preview/files/shade'
X#!/bin/sh
XSHADE_ETC=${EMULDIR}/usr/local/shade
XLD_PRELOAD=${EMULDIR}/usr/lib/__bzero.o
Xexport SHADE_ETC LD_PRELOAD
X${EMULDIR}/usr/local/bin/shade-28107 &
END-of-graphics/shade-preview/files/shade
echo x - graphics/shade-preview/files/__bzero.c
sed 's/^X//' >graphics/shade-preview/files/__bzero.c << 'END-of-graphics/shade-preview/files/__bzero.c'
X#include <sys/types.h>
X#include <strings.h>
X
Xvoid
X__bzero(p, size)
X	void *p;
X	size_t size;
X{
X	bzero(p, size);
X}
END-of-graphics/shade-preview/files/__bzero.c
echo x - graphics/shade-preview/Makefile
sed 's/^X//' >graphics/shade-preview/Makefile << 'END-of-graphics/shade-preview/Makefile'
X# $NetBSD$
X#
X
XDISTNAME=	shade-r4rev12-28107
XPKGNAME=	shade-4.12.28107
XCATEGORIES=	graphics
XEXTRACT_SUFX=	.i386.rpm
XONLY_FOR_PLATFORM=	NetBSD-*-i386
X
XMAINTAINER=	sakamoto@netbsd.org
XHOMEPAGE=	http://www.ex-tools.co.jp/linux/
X
XRESTRICTED=	"You should buy from ExpressionTools, Inc"
XNO_PACKAGE=	${RESTRICTED}
XMIRROR_DISTFILE=no
X
XSHADEDISTDIR?=	/cdrom
XDISTDIR=	${SHADEDISTDIR}
X
XDEPENDS=	suse_base-6.1p1:../../emulators/suse_base \
X		suse_tcl-6.1p1:../../emulators/suse_tcl
XBUILD_DEPENDS=	${CROSSGCC}:../../emulators/suse_devel
X
XEXTRACT_ONLY=	# empty
XPLIST_SRC=	${WRKDIR}/PLIST_DYNAMIC
X
XEMULSUBDIR=	emul/linux
XEMULDIR=	${PREFIX}/${EMULSUBDIR}
XSBINDIR=	${PREFIX}/sbin
XCROSSGCC=	${EMULDIR}/usr/bin/gcc
X
XRPM2PKG=	${PREFIX}/sbin/rpm2pkg
XRPM2PKGARGS=	-d ${PREFIX} -f ${PLIST_SRC} -p ${EMULSUBDIR}
X
Xdo-fetch:
X	@(if [ ! -f ${SHADEDISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \
X		${ECHO} "If CDROM not mounted, mount_cd9660 /dev/cd0a /cdrom; ${MAKE}"; \
X		${ECHO} "If CDROM mounted to /mnt, ${MAKE} SHADEDISTDIR=/mnt/linux"; \
X		${FALSE}; \
X	fi)
X
Xpost-extract:
X	@${CP} ${FILESDIR}/__bzero.c ${WRKDIR}
X
Xdo-build:
X	(cd ${WRKDIR}; ${CROSSGCC} -shared -o __bzero.o __bzero.c)
X	@${SED} -e 's|$${EMULDIR}|${EMULDIR}|g' ${FILESDIR}/shade \
X		> ${WRKDIR}/shade
X
Xdo-install:
X	${RM} -f ${PLIST_SRC}
X	${RPM2PKG} ${RPM2PKGARGS} ${SHADEDISTDIR}/${DISTFILES}
X	@${ECHO} "@exec %D/${EMULSUBDIR}/sbin/ldconfig -r %D/${EMULSUBDIR}" \
X		>> ${PLIST_SRC}
X	${EMULDIR}/sbin/ldconfig -r ${EMULDIR} || ${TRUE}
X	${RM} -f ${EMULDIR}/usr/local/bin/shade
X	${INSTALL_SCRIPT} ${WRKDIR}/shade ${EMULDIR}/usr/local/bin/shade
X	${INSTALL_PROGRAM} ${WRKDIR}/__bzero.o ${EMULDIR}/usr/lib
X	${LN} -s libstdc++.so.2.9.0 ${EMULDIR}/usr/lib/libstdc++-libc6.1-1.so.2
X	@${ECHO} "${EMULSUBDIR}/usr/lib/__bzero.o" >> ${PLIST_SRC}
X	@${ECHO} "${EMULSUBDIR}/usr/lib/libstdc++-libc6.1-1.so.2" >> ${PLIST_SRC}
X
Xshow-shlib-type:
X	@${ECHO} linux-${MACHINE_ARCH}
X
X.include "../../mk/bsd.pkg.mk"
END-of-graphics/shade-preview/Makefile
exit