mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-02 16:07:42 +00:00
fakeroot: use --program-prefix rather than manually renaming binaries
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
950ee4585b
commit
b698051d59
@ -6,6 +6,7 @@
|
|||||||
FAKEROOT_VERSION:=1.9.5
|
FAKEROOT_VERSION:=1.9.5
|
||||||
FAKEROOT_SOURCE:=fakeroot_$(FAKEROOT_VERSION).tar.gz
|
FAKEROOT_SOURCE:=fakeroot_$(FAKEROOT_VERSION).tar.gz
|
||||||
FAKEROOT_SITE:=http://snapshot.debian.org/archive/debian/20080427T000000Z/pool/main/f/fakeroot/
|
FAKEROOT_SITE:=http://snapshot.debian.org/archive/debian/20080427T000000Z/pool/main/f/fakeroot/
|
||||||
|
FAKEROOT_CONF_OPT = --program-prefix=''
|
||||||
|
|
||||||
define FAKEROOT_PATCH_FAKEROOT_IN
|
define FAKEROOT_PATCH_FAKEROOT_IN
|
||||||
# If using busybox getopt, make it be quiet.
|
# If using busybox getopt, make it be quiet.
|
||||||
@ -15,14 +16,5 @@ endef
|
|||||||
|
|
||||||
FAKEROOT_POST_PATCH_HOOKS += FAKEROOT_PATCH_FAKEROOT_IN
|
FAKEROOT_POST_PATCH_HOOKS += FAKEROOT_PATCH_FAKEROOT_IN
|
||||||
|
|
||||||
define FAKEROOT_RENAME_TARGET_BINARIES
|
|
||||||
-mv $(TARGET_DIR)/usr/bin/$(ARCH)-*-faked \
|
|
||||||
$(TARGET_DIR)/usr/bin/faked
|
|
||||||
-mv $(TARGET_DIR)/usr/bin/$(ARCH)-*-fakeroot \
|
|
||||||
$(TARGET_DIR)/usr/bin/fakeroot
|
|
||||||
endef
|
|
||||||
|
|
||||||
FAKEROOT_POST_INSTALL_TARGET_HOOKS += FAKEROOT_RENAME_TARGET_BINARIES
|
|
||||||
|
|
||||||
$(eval $(call AUTOTARGETS,package,fakeroot))
|
$(eval $(call AUTOTARGETS,package,fakeroot))
|
||||||
$(eval $(call AUTOTARGETS,package,fakeroot,host))
|
$(eval $(call AUTOTARGETS,package,fakeroot,host))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user