From: Michael Tremer Date: Tue, 27 Jan 2009 21:18:41 +0000 (+0100) Subject: Converted lfs/linux to new LFS format. X-Git-Tag: v3.0-alpha1~76^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8dd0254f01964804a4cb951882242de1f79f847a;p=ipfire-3.x.git Converted lfs/linux to new LFS format. --- diff --git a/lfs/linux b/lfs/linux index b1f17cab6..c085b0e9d 100644 --- a/lfs/linux +++ b/lfs/linux @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007 Michael Tremer & Christian Schmidt # +# Copyright (C) 2007, 2008, 2009 Michael Tremer & Christian Schmidt # # # # 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 # @@ -26,15 +26,34 @@ include Config PKG_NAME = linux VER = 2.6.27.10 +PKG_VER = 0 THISAPP = $(PKG_NAME)-$(VER) DL_FILE = $(THISAPP).tar.bz2 DIR_APP = $(DIR_SRC)/$(THISAPP) -CFLAGS = -CXXFLAGS = OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) +MAINTAINER = +GROUP = System/Base +EXTRA = no +DEBUG = no +DEPS = + +URL = http://www.kernel.org/ +LICENSE = GPLv2 +SHORT_DESC = The Linux kernel. + +define LONG_DESC + The kernel package contains the Linux kernel (vmlinuz), the core of any \ + Linux operating system. The kernel handles the basic functions \ + of the operating system: memory allocation, process allocation, device \ + input and output, etc. +endef + +CFLAGS = +CXXFLAGS = + LOCALVERSION = -ipfire1 FULLVER = $(VER)$(LOCALVERSION) @@ -56,20 +75,26 @@ objects = $(DL_FILE) \ $(GRSEC_PATCH) \ $(H12Y_PATCH) -install : $(OBJECT) +download: $(objects) + +info: + $(DO_PKG_INFO) + +install: $(OBJECT) -download : $(objects) +package: + @$(DO_PACKAGE) -$(objects) : +$(objects): @$(LOAD) ############################################################################### # Installation Details ############################################################################### -$(OBJECT) : +$(OBJECT): $(objects) @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE) + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) cd $(DIR_APP) && echo "$(LOCALVERSION)" > localversion-ipfire