Index: 1.26/Makefile
===================================================================
--- 1.26/Makefile (nonexistent)
+++ 1.26/Makefile (revision 5)
@@ -0,0 +1,67 @@
+
+COMPONENT_TARGETS = $(HARDWARE_BUILD)
+
+include ../../../../../build-system/constants.mk
+
+SOURCE_REQUIRES = build-system/3pp/sources/packages/fakeroot
+
+REQUIRES = build-system/3pp/app/po4a/0.68
+
+# ======= __END_OF_REQUIRES__ =======
+
+version = 1.26
+tar_xz_archive = $(BUILDSYSTEM)/3pp/sources/packages/fakeroot/fakeroot-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/fakeroot-$(version)
+
+src_done = $(TARGET_BUILD_DIR)/.source-done
+src_dir_name = fakeroot-$(version)
+build_dir = $(TARGET_BUILD_DIR)/built
+
+PATCHES = PATCHES
+
+build_target = $(TARGET_BUILD_DIR)/.built
+install_target = $(TARGET_BUILD_DIR)/.installed
+
+script = $(CURDIR)/scripts/fakeroot
+
+environment = CPPFLAGS=-I$(BUILDSYSTEM)/usr/include
+environment += LDFLAGS=-Wl,-rpath=$(BUILDSYSTEM)/usr/lib
+
+extra_configure_switches = --libdir=/usr/lib
+extra_configure_switches += --program-suffix=-sysv
+extra_configure_switches += --mandir=/usr/share/man
+extra_configure_switches += --disable-static
+extra_configure_switches += --with-ipc=sysv
+
+
+BUILD_TARGETS = $(install_target)
+
+include ../../../../../build-system/core.mk
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ @( cd $(SRC_DIR) ; ./bootstrap )
+ @( cd $(SRC_DIR)/doc ; \
+ $(BUILDSYSTEM)/usr/bin/po4a -k 0 --rm-backups --variable 'srcdir=../doc/' po4a/po4a.cfg ; \
+ )
+ @touch $@
+
+$(build_target): $(src_done)
+ @mkdir -p $(build_dir)
+ @cd $(build_dir) && $(environment) ../$(src_dir_name)/configure \
+ --prefix=/usr \
+ $(extra_configure_switches)
+ @$(environment) $(MAKE) -C $(build_dir)
+ @touch $@
+
+$(install_target): $(build_target)
+ @echo -e "\n======= Installing FAKEROOT binary =======\n"
+ @cd $(build_dir) && $(MAKE) install DESTDIR=$(BUILDSYSTEM)
+ @echo -e "\n======= Installing FAKEROOT wrapper =======\n"
+ @mkdir -p $(BUILDSYSTEM)/sbin && \
+ cp -a $(script) $(BUILDSYSTEM)/sbin/fakeroot && \
+ chmod a+x $(BUILDSYSTEM)/sbin/fakeroot && \
+ echo "PSEUDO := $(BUILDSYSTEM)/sbin/fakeroot" >> $(BUILDSYSTEM)/sbin/.config
+ @touch $@
Index: 1.26/PATCHES
===================================================================
Index: 1.26/scripts/fakeroot
===================================================================
--- 1.26/scripts/fakeroot (nonexistent)
+++ 1.26/scripts/fakeroot (revision 5)
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+program=$0
+fakeroot_prefix=$(cd $(dirname $program)/.. ; pwd -P)/usr
+
+shell=$1 ; shift ; option=$1 ; shift
+
+#
+# remove extra spaces
+#
+args=`echo "${@}" | sed 's/ \{1,\}/ /g'`
+
+${fakeroot_prefix}/bin/fakeroot-sysv --lib ${fakeroot_prefix}/lib/libfakeroot-0.so \
+ --faked ${fakeroot_prefix}/bin/faked-sysv -- $shell $option "$args"
+
+
Index: 1.26/scripts
===================================================================
--- 1.26/scripts (nonexistent)
+++ 1.26/scripts (revision 5)
Property changes on: 1.26/scripts
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,51 ##
+
+# local config & object files
+build-config.mk
+sbin
+usr
+var
+
+# configure targets
+autom4te.cache
+.config
+config.log
+config.status
+configure
+
+# cpan configure targets
+.installed
+CPAN-Config.pm
+CPAN-install
+
+# Target build dirs
+.build-machine
+
+# Timestamps
+.makefile
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Object Files
+*.[ao]
+
+# backup copies
+*~
Index: 1.26
===================================================================
--- 1.26 (nonexistent)
+++ 1.26 (revision 5)
Property changes on: 1.26
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,51 ##
+
+# local config & object files
+build-config.mk
+sbin
+usr
+var
+
+# configure targets
+autom4te.cache
+.config
+config.log
+config.status
+configure
+
+# cpan configure targets
+.installed
+CPAN-Config.pm
+CPAN-install
+
+# Target build dirs
+.build-machine
+
+# Timestamps
+.makefile
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Object Files
+*.[ao]
+
+# backup copies
+*~
Index: .
===================================================================
--- . (nonexistent)
+++ . (revision 5)
Property changes on: .
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,51 ##
+
+# local config & object files
+build-config.mk
+sbin
+usr
+var
+
+# configure targets
+autom4te.cache
+.config
+config.log
+config.status
+configure
+
+# cpan configure targets
+.installed
+CPAN-Config.pm
+CPAN-install
+
+# Target build dirs
+.build-machine
+
+# Timestamps
+.makefile
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Object Files
+*.[ao]
+
+# backup copies
+*~