1 include $(TOPDIR
)/rules.mk
7 PKG_SOURCE_SITE
:= ftp
://ftp.csx.cam.ac.uk
/pub
/software
/programming
/pcre
/
8 PKG_SOURCE_FILE
:= $(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
10 PKG_SOURCE_DIR
:= $(PKG_NAME
)-$(PKG_VERSION
)
11 PKG_BUILD_DIR
:= $(BUILD_DIR
)/$(PKG_SOURCE_DIR
)
12 PKG_IPK
:= $(PACKAGE_DIR
)/lib
$(PKG_NAME
)_
$(PKG_VERSION
)-$(PKG_RELEASE
)_
$(ARCH
).ipk
15 $(DL_DIR
)/$(PKG_SOURCE_FILE
):
17 $(SCRIPT_DIR
)/download.pl
$(DL_DIR
) $(PKG_SOURCE_FILE
) x
$(PKG_SOURCE_SITE
)
19 $(PKG_BUILD_DIR
)/ipkg
/rules
: $(DL_DIR
)/$(PKG_SOURCE_FILE
)
20 mkdir
-p
$(TOOL_BUILD_DIR
)
21 $(PKG_SOURCE_CAT
) $(DL_DIR
)/$(PKG_SOURCE_FILE
) |
tar -C
$(BUILD_DIR
) $(TAR_OPTIONS
) -
22 $(PATCH
) $(PKG_BUILD_DIR
) .
$(PKG_NAME
)-\
*.diff
23 chmod a
+x
$(PKG_BUILD_DIR
)/ipkg
/rules
25 $(PKG_IPK
): $(PKG_BUILD_DIR
)/ipkg
/rules
26 cd
$(PKG_BUILD_DIR
); \
28 TOPDIR
="$(TOPDIR)" IPKG_RULES_INC
="$(TOPDIR)/rules.mk" \
29 INSTALL_DIR
="$(STAGING_DIR)" \
32 $(IPKG_STATE_DIR
)/info/lib
$(PKG_NAME
).list
: $(PKG_IPK
)
33 $(IPKG
) install $(PKG_IPK
)
35 source
: $(DL_DIR
)/$(PKG_SOURCE_FILE
)
36 prepare
: $(PKG_BUILD_DIR
)/ipkg
/rules
38 install: $(IPKG_STATE_DIR
)/info/lib
$(PKG_NAME
).list
41 -cd
$(PKG_BUILD_DIR
); \
43 TOPDIR
="$(TOPDIR)" IPKG_RULES_INC
="$(TOPDIR)/rules.mk" \
44 INSTALL_DIR
="$(STAGING_DIR)" \
46 rm -rf
$(PKG_BUILD_DIR
)
This page took 0.048396 seconds and 5 git commands to generate.