mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 22:26:31 +00:00
sed: directly install binary into /bin
Instead of having to move it after installation, which doesn't work with the merged /usr option. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
6b90ce5454
commit
fdab167442
@ -10,7 +10,7 @@ SED_LICENSE = GPLv3
|
|||||||
SED_LICENSE_FILES = COPYING
|
SED_LICENSE_FILES = COPYING
|
||||||
|
|
||||||
SED_CONF_OPTS = \
|
SED_CONF_OPTS = \
|
||||||
--bindir=/usr/bin \
|
--bindir=/bin \
|
||||||
--libdir=/lib \
|
--libdir=/lib \
|
||||||
--libexecdir=/usr/lib \
|
--libexecdir=/usr/lib \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
@ -19,10 +19,4 @@ SED_CONF_OPTS = \
|
|||||||
--infodir=/usr/share/info \
|
--infodir=/usr/share/info \
|
||||||
--include=$(STAGING_DIR)/usr/include
|
--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))
|
$(eval $(autotools-package))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user