8dfd59d114
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
29 lines
681 B
Makefile
29 lines
681 B
Makefile
################################################################################
|
|
#
|
|
# sed
|
|
#
|
|
################################################################################
|
|
|
|
SED_VERSION = 4.2.2
|
|
SED_SITE = $(BR2_GNU_MIRROR)/sed
|
|
SED_LICENSE = GPLv3
|
|
SED_LICENSE_FILES = COPYING
|
|
|
|
SED_CONF_OPT = --bindir=/usr/bin \
|
|
--libdir=/lib \
|
|
--libexecdir=/usr/lib \
|
|
--sysconfdir=/etc \
|
|
--datadir=/usr/share \
|
|
--localstatedir=/var \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
--include=$(STAGING_DIR)/usr/include
|
|
|
|
define SED_MOVE_BINARY
|
|
mv $(TARGET_DIR)/usr/bin/sed $(TARGET_DIR)/bin/
|
|
endef
|
|
|
|
SED_POST_INSTALL_TARGET_HOOKS = SED_MOVE_BINARY
|
|
|
|
$(eval $(autotools-package))
|