]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blobdiff - pkgs/beep/beep.nm
Change file layout of the makefiles.
[people/arne_f/ipfire-3.x.git] / pkgs / beep / beep.nm
index dda68087b5906f881036ce47eee5f4d5147748c5..d4da7d29270d44d09029de57806613ccf9080d3d 100644 (file)
@@ -1,58 +1,43 @@
 ###############################################################################
-#                                                                             #
-# IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007, 2008 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        #
-# the Free Software Foundation, either version 3 of the License, or           #
-# (at your option) any later version.                                         #
-#                                                                             #
-# This program is distributed in the hope that it will be useful,             #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
-# GNU General Public License for more details.                                #
-#                                                                             #
-# You should have received a copy of the GNU General Public License           #
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
-#                                                                             #
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
 ###############################################################################
 
-###############################################################################
-# Definitions
-###############################################################################
-
-include $(PKGROOT)/Include
+name       = beep
+version    = 1.2.2
+release    = 1
 
-PKG_NAME       = beep
-PKG_VER        = 1.2.2
-PKG_REL        = 0
+groups     = Applications/System
+url        = http://www.johnath.com/beep/
+license    = GPLv2+
+summary    = Beep the PC speaker any number of ways.
 
-PKG_MAINTAINER =
-PKG_GROUP      = Applications/System
-PKG_URL        = http://www.johnath.com/beep/
-PKG_LICENSE    = GPLv2+
-PKG_SUMMARY    = Beep the PC speaker any number of ways.
-
-define PKG_DESCRIPTION
+description
        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
+end
+
+source_dl  = http://www.johnath.com/beep/
+tarball    = %{thisapp}.tar.gz
+
+build
+       build
+               make FLAGS="%{CFLAGS}" %{PARALLELISMFLAGS}
+       end
 
-PKG_TARBALL    = $(THISAPP).tar.gz
+       install
+               mkdir -pv %{BUILDROOT}/usr/bin
+               mkdir -pv %{BUILDROOT}/usr/share/man/man1
 
-define STAGE_BUILD
-       $(DO_FIX_LIBTOOL)
-       cd $(DIR_APP) && make $(PARALLELISMFLAGS)
-endef
+               install -m 0755 beep %{BUILDROOT}/usr/bin
+               cp beep.1.gz %{BUILDROOT}/usr/share/man/man1
+       end
+end
 
-define STAGE_INSTALL
-       -mkdir -pv $(BUILDROOT)/usr/bin
-       -mkdir -pv $(BUILDROOT)/usr/share/man/man1
-       cd $(DIR_APP) && install -m 0755 beep $(BUILDROOT)/usr/bin
-       cd $(DIR_APP) && cp beep.1.gz $(BUILDROOT)/usr/share/man/man1
-endef
+packages
+       package beep
+end