###############################################################################
-# #
-# 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
-
-PKG_NAME = sed
-PKG_VER = 4.2.1
-PKG_REL = 0
+name = sed
+version = 4.2.1
+release = 1
-PKG_MAINTAINER =
-PKG_GROUPS = Base Applications/Text
-PKG_URL = http://sed.sourceforge.net/
-PKG_LICENSE = GPLv2+
-PKG_SUMMARY = A GNU stream text editor.
+groups = Base Build Applications/Text
+url = http://sed.sourceforge.net/
+license = GPLv2+
+summary = A GNU stream text editor.
-PKG_BUILD_DEPS+= libselinux-devel
-
-define PKG_DESCRIPTION
+description
The sed (Stream EDitor) editor is a stream or batch (non-interactive) \
editor. Sed takes text as input, performs an operation or set of \
operations on the text and outputs the modified text. The operations \
that sed performs (substitutions, deletions, insertions, etc.) can be \
specified in a script file or from the command line.
-endef
+end
+
+source_dl = http://downloads.sourceforge.net/project/%{name}/%{name}/%{thisapp}
+
+build
+ requires
+ libselinux-devel
+ end
-PKG_TARBALL = $(THISAPP).tar.gz
+ configure_options += \
+ --bindir=/bin \
+ --without-included-regex \
+ --mandir=/usr/share/man
-CONFIGURE_OPTIONS += \
- --bindir=/bin \
- --without-included-regex \
- --mandir=/usr/share/man
+ test
+ make check
+ end
+end
-define STAGE_TEST
- cd $(DIR_APP) && make check
-endef
+packages
+ package %{name}
+ end
+end