X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=lfs%2Fcpufrequtils;h=8db0e6750873d5c27d767dfb9022d468336d2642;hb=HEAD;hp=f07e49df3eebbaad593c374fc62e7cd844e138e5;hpb=568438067cfef263b683f97b9350776f62396e04;p=people%2Fpmueller%2Fipfire-2.x.git diff --git a/lfs/cpufrequtils b/lfs/cpufrequtils index f07e49df3e..0383834b64 100644 --- a/lfs/cpufrequtils +++ b/lfs/cpufrequtils @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2010 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -24,63 +24,46 @@ include Config -VER = 008 +SUMMARY = compatiblity initscript to set ondemand/powersave gov via cpupower + +VER = ipfire THISAPP = cpufrequtils-$(VER) -DL_FILE = $(THISAPP).tar.bz2 -DL_FROM = $(URL_IPFIRE) +#DL_FILE = $(THISAPP).tar.bz2 +#DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) -SUP_ARCH = i586 PROG = cpufrequtils -PAK_VER = 6 +PAK_VER = 15 -DEPS = "" +DEPS = -CFLAGS += -fno-PIC +SERVICES = ############################################################################### # Top-level Rules ############################################################################### -objects = $(DL_FILE) - -$(DL_FILE) = $(DL_FROM)/$(DL_FILE) - -$(DL_FILE)_MD5 = c59b71c044d463896f3247e8dd83dd7e install : $(TARGET) -check : $(patsubst %,$(DIR_CHK)/%,$(objects)) +check : -download :$(patsubst %,$(DIR_DL)/%,$(objects)) +download : -md5 : $(subst %,%_MD5,$(objects)) +b2 : -dist: +dist: @$(PAK) -############################################################################### -# Downloading, checking, md5sum -############################################################################### - -$(patsubst %,$(DIR_CHK)/%,$(objects)) : - @$(CHECK) - -$(patsubst %,$(DIR_DL)/%,$(objects)) : - @$(LOAD) - -$(subst %,%_MD5,$(objects)) : - @$(MD5) - ############################################################################### # Installation Details ############################################################################### $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && make - cd $(DIR_APP) && make install - @rm -rf $(DIR_APP) + + #install initscripts + $(call INSTALL_INITSCRIPTS,cpufreq) + @$(POSTBUILD)