[leaf-commits] devel/davidmbrooke/src/bering-uclibc4/source/libdaemon append-to-sources.local, NONE, 1.1 buildtool.cfg, NONE, 1.1 buildtool.mk, NONE, 1.1 libdaemon-0.14.tar.gz, NONE, 1.1

david M brooke <[email protected]> Sat, 04 Dec 2010 14:14:25 +0000
Newsgroups gmane.linux.leaf.cvs
Message-ID <[email protected]>
Update of /cvsroot/leaf/devel/davidmbrooke/src/bering-uclibc4/source/libdaemon
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv27761

Added Files:
	append-to-sources.local buildtool.cfg buildtool.mk 
	libdaemon-0.14.tar.gz 
Log Message:
Initial check-in, required for avahi

--- NEW FILE: buildtool.mk ---
#############################################################
#
# libdaemon
#
#############################################################

include $(MASTERMAKEFILE)

LIBDAEMON_DIR:=$(shell $(BT_TGZ_GETDIRNAME) $(LIBDAEMON_SOURCE) 2>/dev/null )
ifeq ($(LIBDAEMON_DIR),)
LIBDAEMON_DIR:=$(shell cat DIRNAME)
endif

LIBDAEMON_TARGET_DIR:=$(BT_BUILD_DIR)/libdaemon

# Option settings for 'configure':
#   Move default install from /usr/local to /usr
CONFOPTS:=--prefix=/usr

$(LIBDAEMON_DIR)/.source:
	zcat $(LIBDAEMON_SOURCE) | tar -xvf - 	
	echo $(LIBDAEMON_DIR) > DIRNAME
	touch $(LIBDAEMON_DIR)/.source

$(LIBDAEMON_DIR)/.configure: $(LIBDAEMON_DIR)/.source
	( cd $(LIBDAEMON_DIR); ./configure $(CONFOPTS) );
	touch $(LIBDAEMON_DIR)/.configure
	
source: $(LIBDAEMON_DIR)/.source

$(LIBDAEMON_DIR)/.build: $(LIBDAEMON_DIR)/.configure
	mkdir -p $(LIBDAEMON_TARGET_DIR)
	$(MAKE) -C $(LIBDAEMON_DIR)
	$(MAKE) DESTDIR=$(LIBDAEMON_TARGET_DIR) -C $(LIBDAEMON_DIR) install
	$(BT_STRIP) $(BT_STRIP_LIBOPTS) $(LIBDAEMON_TARGET_DIR)/usr/lib/*.so
	cp -ar $(LIBDAEMON_TARGET_DIR)/usr/lib/* $(BT_STAGING_DIR)/usr/lib
	cp -ar $(LIBDAEMON_TARGET_DIR)/usr/include/ $(BT_STAGING_DIR)
	touch $(LIBDAEMON_DIR)/.build

build: $(LIBDAEMON_DIR)/.build

clean:
	-rm $(LIBDAEMON_DIR)/.build
	-rm -rf $(LIBDAEMON_TARGET_DIR)
	-$(MAKE) -C $(LIBDAEMON_DIR) clean
	
srcclean:
	-rm -rf $(LIBDAEMON_DIR)
	rm DIRNAME


--- NEW FILE: buildtool.cfg ---
<File buildtool.mk>
	Server = cvs4-sourceforge-devel-davidmbrooke
	Revision = HEAD
	Directory = libdaemon
</File>

<File libdaemon-0.14.tar.gz>
	Server = cvs4-sourceforge-devel-davidmbrooke
	Revision = HEAD  
	Directory = libdaemon
	Envname = LIBDAEMON_SOURCE
</File>

<Package>
	<libdaemon>
		Version = 0.14
		Revision = 1

		Help <<EOF
		libdaemon is a lightweight C library that eases the writing of
		UNIX daemons.
		Homepage: http://0pointer.de/lennart/projects/libdaemon/
		LEAF Package by __PACKAGER__, __BUILDDATE__
		EOF

		<Permissions>
			Files = 644
			Directories = 755
		</Permissions>

		<Owner>
			Files = root:root
			Directories = root:root
		</Owner>

		<Contents>
			<File>
				Source		= usr/lib/libdaemon.so.0.5.0
				Filename	= usr/lib/libdaemon.so.0.5.0
				Type            = binary
				Permissions	= 755
			</File>

			<File>
				Filename	= usr/lib/libdaemon.so
				Target		= usr/lib/libdaemon.so.0.5.0
				Type		= link
				Permissions	= 755
			</File>

			<File>
				Filename	= usr/lib/libdaemon.so.0
				Target		= usr/lib/libdaemon.so.0.5.0
				Type		= link
				Permissions	= 755
			</File>
		</Contents>
	</libdaemon>
</Package>

--- NEW FILE: libdaemon-0.14.tar.gz ---
(This appears to be a binary file; contents omitted.)

--- NEW FILE: append-to-sources.local ---

<Server cvs4-sourceforge-devel-davidmbrooke>
	Type = viewcvs
	Name = leaf.cvs.sourceforge.net
	Serverpath = /leaf/devel/davidmbrooke/src/bering-uclibc4/source
</Server>

<Package libdaemon>
	Server = cvs4-sourceforge-devel-davidmbrooke
	Directory = libdaemon
	Revision = HEAD
	Description = A lightweight C library for writing UNIX daemons
	<Requires>
		Name = buildenv
	</Requires>
</Package>



------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d