Changeset ee613ea in freewrt
- Timestamp:
- Jan 6, 2007, 2:32:51 PM (19 years ago)
- Children:
- 4e32a60
- Parents:
- 451aa8b
- Files:
-
- 2 edited
-
mk/buildhlp.mk (modified) (5 diffs)
-
package/base-files/Makefile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mk/buildhlp.mk
r451aa8b ree613ea 5 5 # or at http://www.freewrt.org/license for details. 6 6 7 ifneq ($ {PKG_SOURCE_URL},)8 ifeq ($ {PKG_SOURCE},)7 ifneq ($(strip ${PKG_SOURCE_URL}),) 8 ifeq ($(strip ${PKG_SOURCE}),) 9 9 PKG_SOURCE:= ${PKG_NAME}-${PKG_VERSION}.tar.gz 10 10 endif 11 11 endif 12 ifneq ($ {PKG_SOURCE},)12 ifneq ($(strip ${PKG_SOURCE}),) 13 13 DISTFILES?= ${DL_DIR}/${PKG_SOURCE} 14 14 endif … … 19 19 WRKINST?= ${WRKDIR}/fake-${ARCH}/root 20 20 21 ifneq ($ {PKG_SOURCE_URL},)21 ifneq ($(strip ${PKG_SOURCE_URL}),) 22 22 $(DL_DIR)/$(PKG_SOURCE): 23 23 @$(CMD_TRACE) "downloading... " … … 32 32 @echo "distfiles downloaded in FreeWRT. Sorry." >&2 33 33 34 ifneq ($ {DISTFILES}${PKG_SOURCE},)34 ifneq ($(strip ${DISTFILES})$(strip ${PKG_SOURCE}),) 35 35 fetch: ${DISTFILES} 36 36 refetch: … … 42 42 rm -rf ${WRKSRC} ${WRKBUILD} 43 43 ${EXTRACT_CMD} 44 ifneq ($ {CRLF_WORKAROUND},)44 ifneq ($(strip ${CRLF_WORKAROUND}),) 45 45 perl -pi -e 's!\r$$!!g' $$(find ${WRKSRC} -type f) 46 46 endif 47 47 touch $@ 48 48 49 __use_generic_patch_target:=42 50 else 51 ifeq ($(strip ${NO_DISTFILES}),1) 52 ${WRKBUILD}/.extract_done: 53 rm -rf ${WRKSRC} ${WRKBUILD} 54 mkdir -p ${WRKDIR} ${WRKSRC} 55 ${MAKE} do-extract 56 touch $@ 57 58 fetch refetch do-extract: 59 60 __use_generic_patch_target:=42 61 else 62 ifeq ($(strip ${_IN_PACKAGE}),1) 63 $(warning This package does not use the generic extraction and patch target; it's most likely to fail.) 64 endif 65 endif 66 endif 67 68 ifeq ($(strip ${__use_generic_patch_target}),42) 49 69 ${WRKBUILD}/.prepared: ${WRKBUILD}/.extract_done 50 70 [ ! -d ./patches ] || $(PREVENT_PATCH) $(PATCH) $(WRKSRC) ./patches \ … … 54 74 [ ! -d ./extra ] || (cd extra; $(PREVENT_PATCH) pax -rw . ${WRKSRC}/) 55 75 touch $@ 56 else57 ifeq (${_IN_PACKAGE},1)58 $(warning This package does not use the generic extraction and patch target; it's most likely to fail.)59 endif60 76 endif 61 77 -
package/base-files/Makefile
r451aa8b ree613ea 12 12 PKG_RELEASE:= 17 13 13 WRKSRC= ${WRKDIR}/base-files 14 15 DISTFILES:= 14 NO_DISTFILES:= 1 # should be Yes, but gmake sucks 16 15 17 16 include $(TOPDIR)/mk/package.mk … … 43 42 endif 44 43 45 do-configure:46 touch ${WRKBUILD}/.prepared47 44 do-install: 48 45 $(CP) ./files/* $(IDIR_BASE_FILES)
Note:
See TracChangeset
for help on using the changeset viewer.
