1 #############################################################
5 #############################################################
6 FAKEROOT_SOURCE
:=fakeroot_0.7
.5.
tar.gz
7 FAKEROOT_SITE
:=http
://ftp.debian.org
/debian
/pool
/main
/f
/fakeroot
9 FAKEROOT_DIR
:=$(BUILD_DIR
)/fakeroot-0.7
.5
12 $(DL_DIR
)/$(FAKEROOT_SOURCE
):
13 $(WGET
) -P
$(DL_DIR
) $(FAKEROOT_SITE
)/$(FAKEROOT_SOURCE
)
15 fakeroot-source
: $(DL_DIR
)/$(FAKEROOT_SOURCE
)
17 $(FAKEROOT_DIR
)/.unpacked
: $(DL_DIR
)/$(FAKEROOT_SOURCE
)
18 $(FAKEROOT_CAT
) $(DL_DIR
)/$(FAKEROOT_SOURCE
) |
tar -C
$(BUILD_DIR
) -xvf
-
19 # If using busybox getopt, make it be quiet.
20 $(SED
) "s,getopt --version,getopt --version 2>/dev/null," \
21 $(FAKEROOT_DIR
)/scripts
/fakeroot
22 touch
$(FAKEROOT_DIR
)/.unpacked
24 $(FAKEROOT_DIR
)/.configured
: $(FAKEROOT_DIR
)/.unpacked
25 (cd
$(FAKEROOT_DIR
); rm -rf config.cache
; \
26 $(TARGET_CONFIGURE_OPTS
) \
28 --target
=$(GNU_TARGET_NAME
) \
29 --host
=$(GNU_TARGET_NAME
) \
30 --build
=$(GNU_HOST_NAME
) \
35 --libdir=/usr
/lib
/libfakeroot \
37 --datadir=/usr
/share \
38 --localstatedir
=/var \
43 touch
$(FAKEROOT_DIR
)/.configured
45 $(FAKEROOT_DIR
)/faked
: $(FAKEROOT_DIR
)/.configured
46 $(MAKE
) CC
=$(TARGET_CC
) -C
$(FAKEROOT_DIR
)
48 $(TARGET_DIR
)/usr
/bin
/fakeroot
: $(FAKEROOT_DIR
)/faked
49 $(MAKE
) DESTDIR
=$(TARGET_DIR
) -C
$(FAKEROOT_DIR
) install
50 -mv
$(TARGET_DIR
)/usr
/bin
/$(ARCH
)-linux-faked
$(TARGET_DIR
)/usr
/bin
/faked
51 -mv
$(TARGET_DIR
)/usr
/bin
/$(ARCH
)-linux-fakeroot
$(TARGET_DIR
)/usr
/bin
/fakeroot
52 rm -rf
$(TARGET_DIR
)/share
/locale
$(TARGET_DIR
)/usr
/info \
53 $(TARGET_DIR
)/usr
/man
$(TARGET_DIR
)/usr
/share
/doc
55 fakeroot
: uclibc
$(TARGET_DIR
)/usr
/bin
/fakeroot
58 $(MAKE
) -C
$(FAKEROOT_DIR
) clean
61 rm -rf
$(FAKEROOT_DIR
)
This page took 0.047042 seconds and 5 git commands to generate.