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

david M brooke <[email protected]>
Newsgroups gmane.linux.leaf.cvs
Message-ID <[email protected]>
Update of /cvsroot/leaf/src/bering-uclibc4/source/speedtouch
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv30927

Added Files:
	buildtool.cfg buildtool.mk speedtouch-1.3.1.tar.gz 
Log Message:
Added edit to fix syntax error with GCC 4 and migrated to cvs4-sourceforge

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

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

<File speedtouch-1.3.1.tar.gz>
  Server = cvs4-sourceforge
  Revision = HEAD
  envname = SPEEDTOUCH_SOURCE
  Directory = speedtouch
</File>

<Package>
	<speedtch>
		Version = 1.3.1
		Revision = 2

		Help <<EOF
		Userspace tools for the Alcatel Speedtouch USB ADSL Adapter
		Homepage: http://sourceforge.net/projects/speedtouch
		Requires: ppp.lrp pppoatm.lrp
		LEAF package by __PACKAGER__, __BUILDDATE__		
		EOF
		
		<Permissions>
			Files = 644
			Directories = 755
		</Permissions>

		<Owner>
			Files = root:root
			Directories = root:root
		</Owner>
		
		<Contents>
			<File>          
				Source          = usr/sbin/modem_run
				Filename        = usr/sbin/modem_run
				Type            = binary
				Permissions = 755
			</File>		
			<File>          
				Filename	= etc/firmware/speedtouch
				Type            = directory
				Type		= local
			</File>		
		</Contents>			
	</speedtch>
</Package>

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

include $(MASTERMAKEFILE)

SPEEDTOUCH_DIR:=$(shell $(BT_TGZ_GETDIRNAME) $(SPEEDTOUCH_SOURCE) 2>/dev/null )
ifeq ($(SPEEDTOUCH_DIR),)
SPEEDTOUCH_DIR:=$(shell cat DIRNAME)
endif
SPEEDTOUCH_TARGET_DIR:=$(BT_BUILD_DIR)/speedtouch

$(SPEEDTOUCH_DIR)/.source:
	zcat $(SPEEDTOUCH_SOURCE) | tar -xvf -
	# Fix syntax error for Bering-uClibc 4.x
	perl -i -p -e 's,extern int verbose;,,' $(SPEEDTOUCH_DIR)/src/modem.h
	echo $(SPEEDTOUCH_DIR) > DIRNAME
	touch $(SPEEDTOUCH_DIR)/.source

source: $(SPEEDTOUCH_DIR)/.source
                        
$(SPEEDTOUCH_DIR)/.configured: $(SPEEDTOUCH_DIR)/.source
	(cd $(SPEEDTOUCH_DIR) ; CC=$(TARGET_CC) LD=$(TARGET_LD) CFLAGS="$(BT_COPT_FLAGS)" \
	./configure --prefix=/usr \
	--includedir=$(BT_STAGING_DIR)/include \
	--oldincludedir=$(BT_STAGING_DIR)/include )
	touch $(SPEEDTOUCH_DIR)/.configured
                                                                 
$(SPEEDTOUCH_DIR)/.build: $(SPEEDTOUCH_DIR)/.configured
	mkdir -p $(SPEEDTOUCH_TARGET_DIR)
	mkdir -p $(SPEEDTOUCH_TARGET_DIR)/usr/sbin	
	make -C $(SPEEDTOUCH_DIR) all
	-$(BT_STRIP) $(BT_STRIP_BINOPTS) $(SPEEDTOUCH_DIR)/src/modem_run
	cp -a $(SPEEDTOUCH_DIR)/src/modem_run $(SPEEDTOUCH_TARGET_DIR)/usr/sbin
	cp -a $(SPEEDTOUCH_TARGET_DIR)/* $(BT_STAGING_DIR)
	touch $(SPEEDTOUCH_DIR)/.build

build: $(SPEEDTOUCH_DIR)/.build
                                                                                         
clean:
	make -C $(SPEEDTOUCH_DIR) clean
	rm -rf $(SPEEDTOUCH_TARGET_DIR)
	rm -rf $(SPEEDTOUCH_DIR)/.build
	rm -rf $(SPEEDTOUCH_DIR)/.configured
                                                                                                                 
srcclean: clean
	rm -rf $(SPEEDTOUCH_DIR) 
	rm -rf $(SPEEDTOUCH_DIR)/.source


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
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.