2004-10-09 03:06:03 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# sed
|
|
|
|
#
|
|
|
|
#############################################################
|
2010-10-08 10:43:03 +02:00
|
|
|
SED_VERSION = 4.2.1
|
|
|
|
SED_SOURCE = sed-$(SED_VERSION).tar.gz
|
|
|
|
SED_SITE = $(BR2_GNU_MIRROR)/sed
|
2004-10-09 03:06:03 +02:00
|
|
|
|
2010-10-08 10:43:03 +02:00
|
|
|
SED_CONF_OPT = --bindir=/usr/bin \
|
2007-01-14 04:52:21 +01:00
|
|
|
--libdir=/lib \
|
2004-10-09 03:06:03 +02:00
|
|
|
--libexecdir=/usr/lib \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--datadir=/usr/share \
|
|
|
|
--localstatedir=/var \
|
2007-09-19 22:13:08 +02:00
|
|
|
--mandir=/usr/share/man \
|
|
|
|
--infodir=/usr/share/info \
|
2010-10-08 10:43:03 +02:00
|
|
|
--include=$(STAGING_DIR)/usr/include
|
2004-10-09 03:06:03 +02:00
|
|
|
|
2010-10-08 10:43:03 +02:00
|
|
|
define SED_MOVE_BINARY
|
|
|
|
mv $(TARGET_DIR)/usr/bin/sed $(TARGET_DIR)/bin/
|
|
|
|
endef
|
2004-10-09 03:06:03 +02:00
|
|
|
|
2010-10-08 10:43:03 +02:00
|
|
|
SED_POST_INSTALL_TARGET_HOOKS = SED_MOVE_BINARY
|
2004-10-09 03:06:03 +02:00
|
|
|
|
2011-09-29 21:57:43 +02:00
|
|
|
$(eval $(call AUTOTARGETS))
|