3 ifeq ($(strip ${IPKG_DIR}),)
4 IPKG_DIR
:= $(shell pwd
)/..
/..
7 include $(IPKG_DIR
)/Makefile.inc
11 EZ_IPUPDATE_DIR
:= ipkg
/ez-ipupdate
21 install: .stamp-installed
27 rm -rf
$(EZ_IPUPDATE_DIR
)/etc
/ez-ipupdate
28 rm -rf
$(EZ_IPUPDATE_DIR
)/usr
33 @cat
$(EZ_IPUPDATE_DIR
)/CONTROL
/control
37 binary package
: .stamp-installed
39 @cat
$(EZ_IPUPDATE_DIR
)/CONTROL
/control
40 $(IPKG_BUILD
) $(EZ_IPUPDATE_DIR
) $(IPKG_TARGET_DIR
)
43 .stamp-built
: $(BUILD_DEPS
)
46 $(TARGET_CONFIGURE_OPTS
) \
47 CFLAGS
="$(TARGET_CFLAGS)" \
49 --target
=$(GNU_TARGET_NAME
) \
50 --host
=$(GNU_TARGET_NAME
) \
51 --build
=$(GNU_HOST_NAME
) \
55 --datadir=/usr
/share \
56 --includedir=/usr
/include \
57 --infodir=/usr
/share
/info \
59 --libexecdir
=/usr
/lib
/locate \
60 --localstatedir
=/var
/lib \
61 --mandir=/usr
/share
/man \
67 $(TARGET_CONFIGURE_OPTS
) \
72 .stamp-installed
: .stamp-built
74 mkdir
-p
$(EZ_IPUPDATE_DIR
)
77 DESTDIR
="$(shell pwd)/$(EZ_IPUPDATE_DIR)" \
80 mkdir
-p
$(EZ_IPUPDATE_DIR
)/etc
/ez-ipupdate
81 cp
-a example-dyndns.conf
$(EZ_IPUPDATE_DIR
)/etc
/ez-ipupdate
/
83 $(STRIP
) $(EZ_IPUPDATE_DIR
)/usr
/bin
/*
85 chmod
0755 $(EZ_IPUPDATE_DIR
)/CONTROL
86 chmod
0644 $(EZ_IPUPDATE_DIR
)/CONTROL
/control
87 chmod
0755 $(EZ_IPUPDATE_DIR
)/etc
88 chmod
0700 $(EZ_IPUPDATE_DIR
)/etc
/ez-ipupdate
89 chmod
0600 $(EZ_IPUPDATE_DIR
)/etc
/ez-ipupdate
/*
90 chmod
0755 $(EZ_IPUPDATE_DIR
)/usr
91 chmod
0755 $(EZ_IPUPDATE_DIR
)/usr
/bin
92 chmod
0755 $(EZ_IPUPDATE_DIR
)/usr
/bin
/ez-ipupdate
94 touch .stamp-installed
97 .PHONY
: build
install clean control binary package
This page took 0.040968 seconds and 5 git commands to generate.