2003-09-11 11:41:16 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# fakeroot
|
|
|
|
#
|
|
|
|
#############################################################
|
2008-12-01 10:08:04 +01:00
|
|
|
FAKEROOT_VERSION:=1.9.5
|
2008-03-13 08:38:10 +01:00
|
|
|
FAKEROOT_SOURCE:=fakeroot_$(FAKEROOT_VERSION).tar.gz
|
2008-12-01 10:08:04 +01:00
|
|
|
FAKEROOT_SITE:=http://snapshot.debian.net/archive/2008/04/27/debian/pool/main/f/fakeroot/
|
2010-03-02 22:56:33 +01:00
|
|
|
FAKEROOT_LIBTOOL_PATCH=NO
|
2003-09-11 11:41:16 +02:00
|
|
|
|
2010-03-02 22:56:33 +01:00
|
|
|
define FAKEROOT_PATCH_FAKEROOT_IN
|
2006-12-15 15:18:30 +01:00
|
|
|
# If using busybox getopt, make it be quiet.
|
|
|
|
$(SED) "s,getopt --version,getopt --version 2>/dev/null," \
|
2010-03-02 22:56:33 +01:00
|
|
|
$(@D)/scripts/fakeroot.in
|
|
|
|
endef
|
2005-03-07 22:19:15 +01:00
|
|
|
|
2010-03-02 22:56:33 +01:00
|
|
|
FAKEROOT_POST_PATCH_HOOKS += FAKEROOT_PATCH_FAKEROOT_IN
|
2005-03-07 22:19:15 +01:00
|
|
|
|
2010-03-02 22:56:33 +01:00
|
|
|
define FAKEROOT_RENAME_TARGET_BINARIES
|
|
|
|
-mv $(TARGET_DIR)/usr/bin/$(ARCH)-*-faked \
|
2007-09-17 14:30:31 +02:00
|
|
|
$(TARGET_DIR)/usr/bin/faked
|
2010-03-02 22:56:33 +01:00
|
|
|
-mv $(TARGET_DIR)/usr/bin/$(ARCH)-*-fakeroot \
|
2007-09-17 14:30:31 +02:00
|
|
|
$(TARGET_DIR)/usr/bin/fakeroot
|
2010-03-02 22:56:33 +01:00
|
|
|
endef
|
2003-09-11 11:41:16 +02:00
|
|
|
|
2010-03-02 22:56:33 +01:00
|
|
|
FAKEROOT_POST_INSTALL_TARGET_HOOKS += FAKEROOT_RENAME_TARGET_BINARIES
|
2007-04-06 18:36:48 +02:00
|
|
|
|
2010-03-02 22:56:33 +01:00
|
|
|
$(eval $(call AUTOTARGETS,package,fakeroot))
|
|
|
|
$(eval $(call AUTOTARGETS,package,fakeroot,host))
|