]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Converted lfs/initd-tools to new LFS format.
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 23 Feb 2009 06:48:24 +0000 (06:48 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 23 Feb 2009 06:48:24 +0000 (06:48 +0000)
lfs/initd-tools

index c71d97ec12e0bb294fc9f6fbd3ec3a928c51707a..8eef14f239e8a9926c9f2652655c41d15d5c5eb8 100644 (file)
@@ -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,6 +26,7 @@ include Config
 
 PKG_NAME   = initd-tools
 PKG_VER    = 0.1.3
+PKG_REL    = 0
 
 THISAPP    = $(PKG_NAME)-$(PKG_VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -33,26 +34,46 @@ DIR_APP    = $(DIR_SRC)/$(THISAPP)
 
 OBJECT     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
 
+MAINTAINER =
+GROUP      = System/Boot
+EXTRA      = no
+DEBUG      = no
+DEPS       =
+
+URL        = http://gitweb.dwcab.com/?p=initd-tools.git
+LICENSE    = GPLv2+
+SHORT_DESC = LSB init scripts programs.
+
+define LONG_DESC
+       LSB init scripts programs.
+endef
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################
 
 objects = $(DL_FILE)
 
-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 zxf $(DIR_DL)/$(DL_FILE)
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && \
                ./configure \
                        $(CONFIGURE_ARCH) \