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

index 0e07695b484fb1058c018d1037538aa1d0914a07..1b1b036c06fcbec5bd74e8fc23cae7607619c858 100644 (file)
--- a/lfs/beep
+++ b/lfs/beep
@@ -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   = beep
 PKG_VER    = 1.2.2
+PKG_REL    = 0
 
 THISAPP    = $(PKG_NAME)-$(PKG_VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -33,29 +34,51 @@ DIR_APP    = $(DIR_SRC)/$(THISAPP)
 
 OBJECT     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
 
+MAINTAINER =
+GROUP      = Applications/System
+EXTRA      = no
+DEBUG      = no
+DEPS       =
+
+URL        = http://www.johnath.com/beep/
+LICENSE    = GPLv2+
+SHORT_DESC = Beep the PC speaker any number of ways.
+
+define LONG_DESC
+       Beep allows the user to control the PC speaker with precision, \
+       allowing different sounds to indicate different events. While it \
+       can be run quite happily on the commandline, it's intended place \
+       of residence is within shell/perl scripts, notifying the user when \
+       something interesting occurs. Of course, it has no notion of \
+       what's interesting, but it's real good at that notifying part.
+endef
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################
 
 objects = $(DL_FILE)
 
+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) && make $(PARALLELISMFLAGS)
        cd $(DIR_APP) && install -m 0755 beep /usr/bin
        @rm -rf $(DIR_APP)