]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Converted lfs/linux to new LFS format.
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 27 Jan 2009 21:18:41 +0000 (22:18 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 27 Jan 2009 21:18:41 +0000 (22:18 +0100)
lfs/linux

index b1f17cab61cf9d7605f499d83b72a5ede9449333..c085b0e9df571e15631fc9162363ddc37ac16cef 100644 (file)
--- 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