Update of /cvsroot/leaf/src/bering-uclibc/apps/p9100
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6376

Added Files:
        buildtool.cfg buildtool.mk 
Log Message:
buildtool setup


--- NEW FILE: buildtool.cfg ---
<Server cvs-sourceforge>
  Type = viewcvs
  Name = cvs.sourceforge.net/cgi-bin/viewcvs.cgi
  Serverpath = /leaf/src/bering-uclibc/apps
</Server>
      
<File buildtool.mk>
  Server = cvs-sourceforge
  Revision = HEAD
  Directory = p9100
</File>
                  
<File p910nd-0.6.tar.gz>
  Server = cvs-sourceforge
  Revision = HEAD
  envname = P9100_SOURCE
  Directory = p9100
</File>

<File p910nd.init>
  Server = cvs-sourceforge
  Revision = HEAD
  Directory = p9100
</File>


<Package>
        <p9100>
                Version = 0.6
                Revision = 1

                Help <<EOF
                LEAF implementation of p910nd, a small printer daemon that does
                not spool to disk but passes the job directly to the printer.
                Homepage: http://etherboot.sourceforge.net/p910nd/
                LEAF package by __PACKAGER__, __BUILDDATE__

                Source code of p910nd is written by Ken Yap of Australia.
                Compiled and assembled for LRP by Nicholas Fong of Canada.
                Variable PIDFILE was changed from /var/lock/subsys/p910%cd
                to /var/lock/p910%cd due to some issues in LRP startup scripts.

                This is a stand alone appliance which is a JetDirect EX clone,
                well, almost clone since it only implements the raw socket API
                TCP/IP print protocol, other protocols, such as
                RFC1179 LPD, IPX/SPX, DLC/LLC, Ethertalk, Appletalk, NETBEUI, NETBIOS
                and apps like telnet, ftp tftp, flash ROM upgrade, http
                are complete absent. But all you need is one good protocol.
                EOF
                
                <Permissions>
                        Files = 644
                        Directories = 755
                </Permissions>

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

                        <File>
                                Filename    = etc/init.d/p910nd
                                Source      = etc/init.d/p910nd
                                Description = printer daemon init file 
                                Type        = binary
                                Permissions = 755
                        </File>

                        <File>          
                                Source          = usr/sbin/p910nd
                                Filename        = usr/sbin/p910nd
                                Type            = binary
                                Permissions = 755
                        </File>         
                </Contents>                     
        </p9100>
</Package>

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

P9100_DIR:=p910nd-0.6
P9100_TARGET_DIR:=$(BT_BUILD_DIR)/p9100

$(P9100_DIR)/.source:
        zcat $(P9100_SOURCE) | tar -xvf -
        touch $(P9100_DIR)/.source

source: $(P9100_DIR)/.source
                        
$(P9100_DIR)/.configured: $(P9100_DIR)/.source
        perl -i -p -e 's,^CFLAGS+,#CFLAGS,g' $(P9100_DIR)/Makefile
        touch $(P9100_DIR)/.configured
                                                                 
$(P9100_DIR)/.build: $(P9100_DIR)/.configured
        mkdir -p $(P9100_TARGET_DIR)
        mkdir -p $(P9100_TARGET_DIR)/etc/init.d 
        mkdir -p $(P9100_TARGET_DIR)/usr/sbin   
        make CC=$(TARGET_CC) -C $(P9100_DIR) DESTDIR=$(P9100_TARGET_DIR)
        -$(BT_STRIP)--remove-section=.note --remove-section=.comment 
$(P9100_DIR)/p910nd
        cp -a $(P9100_DIR)/p910nd $(P9100_TARGET_DIR)/usr/sbin  
        cp -a p910nd.init $(P9100_TARGET_DIR)/etc/init.d/p910nd
        cp -a $(P9100_TARGET_DIR)/* $(BT_STAGING_DIR)
        touch $(P9100_DIR)/.build

build: $(P9100_DIR)/.build
                                                                                       
  
clean:
        rm -rf $(P9100_TARGET_DIR)
        rm $(P9100_DIR)/p910nd
        rm $(P9100_DIR)/.build
        rm $(P9100_DIR)/.configured
                                                                                       
                          
srcclean: clean
        rm -rf $(P9100_DIR) 
        rm $(P9100_DIR)/.source



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
leaf-cvs-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-cvs-commits

Reply via email to