]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Converted lfs/gdb to new LFS format.
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 28 Jan 2009 21:14:58 +0000 (22:14 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 28 Jan 2009 21:14:58 +0000 (22:14 +0100)
lfs/gdb

diff --git a/lfs/gdb b/lfs/gdb
index 99ea83236088e41ac62f93ed3bd66ddab2ad020d..f43faefefd084f368de3f958462c9ebe2de202b4 100644 (file)
--- a/lfs/gdb
+++ b/lfs/gdb
@@ -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   = gdb
 VER        = 6.8
+PKG_VER    = 0
 
 THISAPP    = $(PKG_NAME)-$(VER)
 DL_FILE    = $(THISAPP).tar.bz2
@@ -33,26 +34,48 @@ DIR_APP    = $(DIR_SRC)/$(THISAPP)
 
 OBJECT     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
 
+MAINTAINER =
+GROUP      = Development/Debuggers
+EXTRA      = no
+DEBUG      = yes
+DEPS       =
+
+URL        = http://gnu.org/software/gdb/
+LICENSE    = GPLv3+
+SHORT_DESC = A GNU source-level debugger for C, C++, Java and other languages.
+
+define LONG_DESC
+       GDB, the GNU debugger, allows you to debug programs written in C, C++, \
+       Java, and other languages, by executing them in a controlled fashion \
+       and printing their data.
+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 jxf $(DIR_DL)/$(DL_FILE)
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && \
                ./configure \
                        $(CONFIGURE_ARCH) \