mariadb: update to 10.9.8
[feed/packages.git] / utils / sed / Makefile
1 #
2 # Copyright (C) 2010-2016 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=sed
11 PKG_VERSION:=4.9
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
15 PKG_SOURCE_URL:=@GNU/sed
16 PKG_HASH:=6e226b732e1cd739464ad6862bd1a1aba42d7982922da7a53519631d24975181
17
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
22
23 PKG_INSTALL:=1
24 PKG_BUILD_PARALLEL:=1
25
26 include $(INCLUDE_DIR)/package.mk
27
28 define Package/sed
29 SECTION:=utils
30 CATEGORY:=Utilities
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
34 endef
35
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.
42 endef
43
44 CONFIGURE_ARGS += \
45 --disable-acl \
46 --without-selinux
47
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
51 endef
52
53 $(eval $(call BuildPackage,sed))