Changeset d419478 in freewrt for package/gcom
- Timestamp:
- Jul 21, 2006, 1:56:32 AM (19 years ago)
- Branches:
- freewrt_1_0, freewrt_2_0
- Children:
- 50d34d3
- Parents:
- 2029b2e
- File:
-
- 1 edited
-
package/gcom/Makefile (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
package/gcom/Makefile
r2029b2e rd419478 10 10 PKG_SOURCE_URL:=http://www.pharscape.org/3G/gcom 11 11 PKG_SOURCE:=$(PKG_NAME)$(PKG_VERSION).tgz 12 PKG_CAT:=zcat13 12 14 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)15 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install16 13 17 14 DISTFILES:= … … 20 17 $(eval $(call PKG_template,GCOM,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) 21 18 22 $( PKG_BUILD_DIR)/.prepared:23 rm -rf $( PKG_BUILD_DIR)24 mkdir -p $( PKG_BUILD_DIR)19 $(WRKBUILD)/.prepared: 20 rm -rf $(WRKBUILD) 21 mkdir -p $(WRKBUILD) 25 22 # the .tgz is different - no subdirectory, so do this manually 26 zcat $(DL_DIR)/$(PKG_SOURCE) | (cd $( PKG_BUILD_DIR); $(TAR_EXTRACT) )27 if [ -d ./patches ]; then $(PATCH) $( PKG_BUILD_DIR) ./patches ; fi23 zcat $(DL_DIR)/$(PKG_SOURCE) | (cd $(WRKBUILD); $(TAR_EXTRACT) ) 24 if [ -d ./patches ]; then $(PATCH) $(WRKBUILD) ./patches ; fi 28 25 touch $@ 29 26 30 $( PKG_BUILD_DIR)/.configured:27 $(WRKBUILD)/.configured: 31 28 touch $@ 32 29 33 $( PKG_BUILD_DIR)/.built:34 $(MAKE) -C $( PKG_BUILD_DIR) \30 $(WRKBUILD)/.built: 31 $(MAKE) -C $(WRKBUILD) \ 35 32 CC="$(TARGET_CC)" \ 36 33 CFLAGS="$(TARGET_CFLAGS)" \ … … 40 37 $(IPKG_GCOM): 41 38 install -d -m0755 $(IDIR_GCOM)/usr/bin 42 install -m0755 $( PKG_BUILD_DIR)/gcom $(IDIR_GCOM)/usr/bin/39 install -m0755 $(WRKBUILD)/gcom $(IDIR_GCOM)/usr/bin/ 43 40 install -d -m0755 $(IDIR_GCOM)/etc/gcom 44 41 install -m0644 ./files/setpin.gcom $(IDIR_GCOM)/etc/gcom/setpin.gcom
Note:
See TracChangeset
for help on using the changeset viewer.
