]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blobdiff - pkgs/ed/ed.nm
Change file layout of the makefiles.
[people/arne_f/ipfire-3.x.git] / pkgs / ed / ed.nm
index ca695886b79bde362d65fe81835785121f3228f1..f2ddbc78f608306039651f4f9d1c1fe3a53f70be 100644 (file)
@@ -1,57 +1,42 @@
 ###############################################################################
-#                                                                             #
-# 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       = ed
+version    = 1.5
+release    = 3
 
-PKG_NAME       = ed
-PKG_VER        = 1.5
-PKG_REL        = 3
+groups     = Application/Text
+url        = http://www.gnu.org/software/ed/
+license    = GPLv3+
+summary    = The GNU line editor.
 
-PKG_MAINTAINER =
-PKG_GROUPS     = Application/Text
-PKG_URL        = http://www.gnu.org/software/ed/
-PKG_LICENSE    = GPLv3+
-PKG_SUMMARY    = The GNU line editor.
-
-define PKG_DESCRIPTION
+description
        Ed is a line-oriented text editor, used to create, display, and modify \
        text files (both interactively and via shell scripts).  For most \
        purposes, ed has been replaced in normal usage by full-screen editors \
        (emacs and vi, for example).
-endef
+end
+
+source_dl  =
 
-PKG_TARBALL    = $(THISAPP).tar.gz
+build
+       configure_options += \
+               --exec-prefix=/
 
-CONFIGURE_OPTIONS += \
-       --exec-prefix=/
+       make_build_target = CFLAGS="%{CFLAGS}"
 
-STAGE_BUILD_TARGET = CFLAGS="$(CFLAGS)"
+       install
+               # Create directory for man pages
+               mkdir -pv %{BUILDROOT}/usr/share/man/man1
 
-define STAGE_INSTALL
-       # Create directory for man pages
-       mkdir -pv $(BUILDROOT)/usr/share/man/man1
+               make install bindir=/bin mandir=/usr/share/man \
+                       DESTDIR=%{BUILDROOT}
+       end
+end
 
-       cd $(DIR_APP) && make install bindir=/bin mandir=/usr/share/man \
-               DESTDIR=$(BUILDROOT)
-endef
+packages
+       package %{name}
+       end
+end