freewrt_1_0
freewrt_2_0
|
Last change
on this file since 71b4d1c was 71b4d1c, checked in by Thorsten Glaser <tg@…>, 20 years ago |
|
use pax to extract if it exists, instead of tar,
because it handles certain archives created by
GNU tar better (on BSD), no change on Linux
ok wbx@
git-svn-id: svn://www.freewrt.org/trunk/freewrt@43 afb5a338-a214-0410-bd46-81f09a774fd1
|
-
Property mode
set to
100644
|
|
File size:
1.2 KB
|
| Line | |
|---|
| 1 | # $Id: Makefile 3112 2006-02-01 23:53:19Z mbm $
|
|---|
| 2 |
|
|---|
| 3 | include $(TOPDIR)/rules.mk
|
|---|
| 4 |
|
|---|
| 5 | PKG_NAME:=microcom
|
|---|
| 6 | PKG_VERSION:=1.02
|
|---|
| 7 | PKG_FILEVERSION:=102
|
|---|
| 8 | PKG_RELEASE:=1
|
|---|
| 9 | PKG_MD5SUM:=c7817035dc41cb02e7cfb565cf9b7401
|
|---|
| 10 |
|
|---|
| 11 | PKG_SOURCE_URL:=http://microcom.port5.com/
|
|---|
| 12 | PKG_SOURCE:=m$(PKG_FILEVERSION).tar.gz
|
|---|
| 13 |
|
|---|
| 14 | PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
|---|
| 15 | PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
|
|---|
| 16 |
|
|---|
| 17 | include $(TOPDIR)/package/rules.mk
|
|---|
| 18 |
|
|---|
| 19 | $(eval $(call PKG_template,MICROCOM,microcom,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|---|
| 20 |
|
|---|
| 21 | $(PKG_BUILD_DIR)/.prepared:
|
|---|
| 22 | rm -rf $(PKG_BUILD_DIR)
|
|---|
| 23 | mkdir -p $(PKG_BUILD_DIR)
|
|---|
| 24 | # the .tar.gz is different - no subdirectory, so do this manually
|
|---|
| 25 | zcat $(DL_DIR)/$(PKG_SOURCE) | (cd $(PKG_BUILD_DIR); $(TAR_EXTRACT) )
|
|---|
| 26 | touch $@
|
|---|
| 27 |
|
|---|
| 28 | $(PKG_BUILD_DIR)/.configured:
|
|---|
| 29 | $(CP) $(PKG_BUILD_DIR)/Makefile $(PKG_BUILD_DIR)/Makefile.tmp
|
|---|
| 30 | sed 's~gcc~$$(CC)~' $(PKG_BUILD_DIR)/Makefile.tmp > $(PKG_BUILD_DIR)/Makefile
|
|---|
| 31 | touch $@
|
|---|
| 32 |
|
|---|
| 33 | $(PKG_BUILD_DIR)/.built:
|
|---|
| 34 | $(MAKE) -C $(PKG_BUILD_DIR) CC=$(TARGET_CC)
|
|---|
| 35 | touch $@
|
|---|
| 36 |
|
|---|
| 37 | $(IPKG_MICROCOM):
|
|---|
| 38 | install -d -m0755 $(IDIR_MICROCOM)/usr/bin
|
|---|
| 39 | install -m0755 $(PKG_BUILD_DIR)/microcom $(IDIR_MICROCOM)/usr/bin
|
|---|
| 40 | $(RSTRIP) $(IDIR_MICROCOM)
|
|---|
| 41 | $(IPKG_BUILD) $(IDIR_MICROCOM) $(PACKAGE_DIR)
|
|---|
| 42 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.