Makefile   [plain text]


##
# Makefile for xinetd
##

# Project info
Project               = xinetd
ProjectName           = xinetd
Extra_CC_Flags        = -no-cpp-precomp
Extra_Configure_Flags = --with-libwrap
GnuAfterInstall       = install-macosx-config

lazy_install_source:: shadow_source

# It's a GNU Source project
include $(MAKEFILEPATH)/CoreOS/ReleaseControl/GNUSource.make
	
install-macosx-config:
	rm $(DSTROOT)/usr/sbin/itox
	rm $(DSTROOT)/usr/sbin/xconv.pl
	rm $(DSTROOT)/usr/share/man/man8/itox.8
	mkdir -p $(DSTROOT)/private/etc/xinetd.d
	chmod 755 $(DSTROOT)/private/etc/xinetd.d
	install -m 644 xinetd.d/* $(DSTROOT)/private/etc/xinetd.d
	install -m 644 xinetd.conf $(DSTROOT)/private/etc/xinetd.conf
	install -m 644 inetd.conf $(DSTROOT)/private/etc/inetd.conf
	mkdir -p $(DSTROOT)/sbin
	install -m 755 sbin-service $(DSTROOT)/sbin/service
#	mkdir -p $(DSTROOT)/System/Library/StartupItems
#	cp -r StartupItem $(DSTROOT)/System/Library/StartupItems/xinetd