2 # Copyright (C) 2010-2016 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
15 PKG_SOURCE_URL
:=@GNU
/sed
16 PKG_HASH
:=6e226b732e1cd739464ad6862bd1a1aba42d7982922da7a53519631d24975181
18 PKG_MAINTAINER
:=Russell Senior
<russell@personaltelco.net
>
19 PKG_LICENSE
:=GPL-3.0
-or-later
20 PKG_LICENSE_FILES
:=COPYING
21 PKG_CPE_ID
:=cpe
:/a
:gnu
:sed
26 include $(INCLUDE_DIR
)/package.mk
31 TITLE
:=sed stream editor utility
- full version
32 URL
:=https
://www.gnu.org
/software
/sed
/
33 ALTERNATIVES
:=300:/bin
/sed
:/usr
/libexec
/sed-gnu
36 define Package
/sed
/description
37 sed
(stream editor
) is a non-interactive command-line text editor. sed is commonly
38 used to
filter text
, i.e.
, it takes text input
, performs some operation
(or set of
39 operations
) on it
, and outputs the modified text. sed is typically used for
40 extracting part of a file using pattern matching or substituting multiple
41 occurrences of a string within a file.
48 define Package
/sed
/install
49 $(INSTALL_DIR
) $(1)/usr
/libexec
50 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/sed
$(1)/usr
/libexec
/sed-gnu
53 $(eval
$(call BuildPackage
,sed
))