1 #############################################################
5 #############################################################
6 ED_SOURCE
:=ed_0.2.orig.
tar.gz
7 ED_PATCH
:=ed_0.2
-19.diff.gz
8 ED_SITE
:=http
://ftp.debian.org
/debian
/pool
/main
/e
/ed
10 ED_DIR
:=$(BUILD_DIR
)/ed-0.2
12 ED_TARGET_BINARY
:=bin
/ed
14 $(DL_DIR
)/$(ED_SOURCE
):
15 $(WGET
) -P
$(DL_DIR
) $(ED_SITE
)/$(ED_SOURCE
)
17 $(DL_DIR
)/$(ED_PATCH
):
18 $(WGET
) -P
$(DL_DIR
) $(ED_SITE
)/$(ED_PATCH
)
20 ed-source
: $(DL_DIR
)/$(ED_SOURCE
) $(DL_DIR
)/$(ED_PATCH
)
22 $(ED_DIR
)/.unpacked
: $(DL_DIR
)/$(ED_SOURCE
) $(DL_DIR
)/$(ED_PATCH
)
23 $(ED_CAT
) $(DL_DIR
)/$(ED_SOURCE
) |
tar -C
$(BUILD_DIR
) -xvf
-
24 $(SOURCE_DIR
)/patch-kernel.sh
$(ED_DIR
) $(DL_DIR
) $(ED_PATCH
)
25 touch
$(ED_DIR
)/.unpacked
27 $(ED_DIR
)/.configured
: $(ED_DIR
)/.unpacked
28 (cd
$(ED_DIR
); rm -rf config.cache
; \
29 $(TARGET_CONFIGURE_OPTS
) \
30 CFLAGS
="$(TARGET_CFLAGS)" \
32 --target
=$(GNU_TARGET_NAME
) \
33 --host
=$(GNU_TARGET_NAME
) \
34 --build
=$(GNU_HOST_NAME
) \
39 touch
$(ED_DIR
)/.configured
41 $(ED_DIR
)/$(ED_BINARY
): $(ED_DIR
)/.configured
42 $(MAKE
) CC
=$(TARGET_CC
) -C
$(ED_DIR
)
44 $(TARGET_DIR
)/$(ED_TARGET_BINARY
): $(ED_DIR
)/$(ED_BINARY
)
45 cp
-a
$(ED_DIR
)/$(ED_BINARY
) $(TARGET_DIR
)/$(ED_TARGET_BINARY
)
47 ed
: uclibc
$(TARGET_DIR
)/$(ED_TARGET_BINARY
)
50 $(MAKE
) DESTDIR
=$(TARGET_DIR
) CC
=$(TARGET_CC
) -C
$(ED_DIR
) uninstall
51 -$(MAKE
) -C
$(ED_DIR
) clean
This page took 0.051362 seconds and 5 git commands to generate.