Update of /cvsroot/leaf/src/bering-uclibc/contrib/patch
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv5657

Added Files:
        buildtool.cfg buildtool.mk patch-2.5.9.tar.gz 
Log Message:
buildtool setup for patch by Paul Traina

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

--- NEW FILE: buildtool.mk ---
include $(MASTERMAKEFILE)
PATCH_DIR:=patch-2.5.9
PATCH_TARGET_DIR:=$(BT_BUILD_DIR)/patch

$(PATCH_DIR)/.source: 
        zcat $(PATCH_SOURCE) |  tar -xvf - 
        touch $(PATCH_DIR)/.source

$(PATCH_DIR)/.configured: $(PATCH_DIR)/.source
        (cd $(PATCH_DIR); CC=$(TARGET_CC) LD=$(TARGET_LD) 
CFLAGS="$(BT_COPT_FLAGS)" \
        ./configure --prefix=/usr)
        touch $(PATCH_DIR)/.configured

$(PATCH_DIR)/.build: $(PATCH_DIR)/.configured
        mkdir -p $(PATCH_TARGET_DIR)/usr/bin
        $(MAKE) -C $(PATCH_DIR)
        cp -a $(PATCH_DIR)/patch $(PATCH_TARGET_DIR)/usr/bin
        $(BT_STRIP) $(BT_STRIP_BINOPTS) $(PATCH_TARGET_DIR)/usr/bin/patch
        cp -a $(PATCH_TARGET_DIR)/* $(BT_STAGING_DIR)/
        touch $(PATCH_DIR)/.build

source: $(PATCH_DIR)/.source 

build: $(PATCH_DIR)/.build

clean:
        $(MAKE) -C $(PATCH_DIR) clean
        -rm -rf $(PATCH_TARGET_DIR)
        -rm $(BT_STAGING_DIR)/usr/sbin/patch
        -rm $(PATCH_DIR)/.build
        -rm $(PATCH_DIR)/.configured

srcclean:
        rm -rf $(PATCH_DIR)

--- NEW FILE: buildtool.cfg ---
<File buildtool.mk>
        Server = cvs-contrib-sourceforge
        Revision = HEAD
        Directory = patch
</File>

<File patch-2.5.9.tar.gz>
        Server = cvs-contrib-sourceforge
        Revision = HEAD
        Directory = patch
        Envname = PATCH_SOURCE
</File>

<Package>
        <patch>
                Version 2.5.9
                Revision = 1

                Help <<EOF
                Text file patching utility
                Homepage: ftp://alpha.gnu.org/gnu/diffutils/
                LEAF package by __PACKAGER__, __BUILDDATE__
                EOF

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

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

                <Contents>
                        <File>
                                Filename    = usr/bin/patch
                                Source      = usr/bin/patch
                                Type        = binary
                                Permissions = 755
                        </File>
                </Contents>
        </patch>
</Package>


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
leaf-cvs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-cvs-commits

Reply via email to