Revision: 6746
          http://ipcop.svn.sourceforge.net/ipcop/?rev=6746&view=rev
Author:   gespinasse
Date:     2012-08-05 07:10:22 +0000 (Sun, 05 Aug 2012)
Log Message:
-----------
Switch to debian for powerpc-utils code.
I had this in my x86 tree since a long time. At least, that will load the files
I haven't powered my iMac since a long time.

Modified Paths:
--------------
    ipcop/trunk/lfs/powerpc-utils

Modified: ipcop/trunk/lfs/powerpc-utils
===================================================================
--- ipcop/trunk/lfs/powerpc-utils       2012-08-05 06:59:20 UTC (rev 6745)
+++ ipcop/trunk/lfs/powerpc-utils       2012-08-05 07:10:22 UTC (rev 6746)
@@ -37,23 +37,25 @@
 HOST_ARCH  = ppc
 OTHER_SRC  = yes
 
-THISAPP    = powerpc-utils-$(VER)
-DL_FILE    = $(THISAPP).tar.gz
-DL_FROM    = http://penguinppc.org/bootloaders/quik
+THISAPP    = $(PKG_NAME)-$(VER)
+DL_FILE    = $(PKG_NAME)_$(VER).orig.tar.gz
+DL_FROM    = $(URL_DEBIAN)/p/$(PKG_NAME)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
-CFLAGS     =
-CXXFLAGS   =
 
+PATCH1     = $(PKG_NAME)_$(VER)-24.diff.gz
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################
 
-objects = $(DL_FILE)
+objects = $(DL_FILE) $(PATCH1)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+$(PATCH1)  = $(DL_FROM)/$(PATCH1)
 
-$(DL_FILE)_MD5 = f0709f58fe841cdee18869e7a9903b31
+$(DL_FILE)_MD5 = d879b109bb8f0d726304b60b147bff13
+$(PATCH1)_MD5  = 7766bd30b8f97bf584addca797a50327
 
 install : $(TARGET)
 
@@ -83,9 +85,10 @@
 $(TARGET) : $(firstword $(MAKEFILE_LIST)) $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+       cd $(DIR_SRC) && mv pmac-utils $(DIR_APP)
+       cd $(DIR_APP) && zcat $(DIR_DL)/$(PATCH1) | patch -p1
 
-       cd $(DIR_APP) && sed -i "s, trackpad backlight,,g" Makefile
-       cd $(DIR_APP) && make
+       cd $(DIR_APP) && make clock nvsetenv macos
        cd $(DIR_APP) && install -s -m 4511 clock /usr/sbin
        cd $(DIR_APP) && install -m 755 nvsetenv macos /usr/sbin
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn

Reply via email to