###############################################################################
# #
# 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 #
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)
$(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