[leaf-commits] src/bering-uclibc4/source/bash bash-3.2.48.tar.gz, NONE, 1.1 buildtool.mk, NONE, 1.1 buildtool.cfg, NONE, 1.1

KP Kirchd?rfer <[email protected]>
Newsgroups gmane.linux.leaf.cvs
Message-ID <[email protected]>
Update of /cvsroot/leaf/src/bering-uclibc4/source/bash
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv16350

Added Files:
	bash-3.2.48.tar.gz buildtool.mk buildtool.cfg 
Log Message:
Update bash - this version builds with bering-uclibc4 and runs within qemu


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

--- NEW FILE: buildtool.cfg ---
<File buildtool.mk>
  Server = cvs-sourceforge
  Revision = HEAD
  Directory = bash
</File>
                 
<File bash-3.2.48.tar.gz>
  Server = cvs-sourceforge
  Revision = HEAD
  envname = BASH_SOURCE
  Directory = bash
</File>

<Package>
	<bash>
		Version = 3.2.48
		Revision = 1

		Help <<EOF
		Bourne Again Shell  - unix shell
		Homepage: http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html
		Requires: ncurses.lrp
		LEAF package by __PACKAGER__, __BUILDDATE__		
		Bash is the shell, or command language interpreter, that will appear in the
		GNU operating system. Bash is an sh-compatible shell that incorporates useful
		features from the Korn shell (ksh) and C shell (csh).
		It is intended to conform to the IEEE POSIX P1003.2/ISO 9945.2 Shell and
		Tools standard. It offers functional improvements over sh for both programming
		and interactive use.
		In addition, most sh scripts can be run by Bash without modification.
		EOF
		
		<Permissions>
			Files = 644
			Directories = 755
		</Permissions>

		<Owner>
			Files = root:root
			Directories = root:root
		</Owner>
		
		<Contents>
			<File>          
				Source          = bin/bash
				Filename        = bin/bash
				Type            = binary
				Permissions = 755
			</File>		
	</Contents>			
	</bash>
</Package>

--- NEW FILE: buildtool.mk ---
# makefile for bash
include $(MASTERMAKEFILE)

BASH_DIR:=bash-3.2.48
BASH_TARGET_DIR:=$(BT_BUILD_DIR)/bash

$(BASH_DIR)/.source:
	zcat $(BASH_SOURCE) | tar -xvf -
	touch $(BASH_DIR)/.source

source: $(BASH_DIR)/.source
                        
$(BASH_DIR)/.configured: $(BASH_DIR)/.source
	(cd $(BASH_DIR) ; CC=$(TARGET_CC) LD=$(TARGET_LD) CFLAGS="-Os" ./configure --host=i386-pc-linux-gnu \
			--with-curses --disable-net-redirections --prefix=/ \
			--infodir=/usr/share/info --mandir=/usr/share/man )
	touch $(BASH_DIR)/.configured
                                                                 
$(BASH_DIR)/.build: $(BASH_DIR)/.configured
	mkdir -p $(BASH_TARGET_DIR)
	mkdir -p $(BASH_TARGET_DIR)/bin
	make -C $(BASH_DIR) all  
	-$(BT_STRIP) -s --remove-section=.note --remove-section=.comment $(BASH_DIR)/bash	
	cp -a $(BASH_DIR)/bash $(BASH_TARGET_DIR)/bin
	cp -a $(BASH_TARGET_DIR)/* $(BT_STAGING_DIR)
	touch $(BASH_DIR)/.build

build: $(BASH_DIR)/.build
                                                                                         
clean:
	make -C $(BASH_DIR) clean
	rm -rf $(BASH_TARGET_DIR)
                                                                                                                 
srcclean: clean
	rm -rf $(BASH_DIR) 



------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.