Changeset b266f30 in freewrt


Ignore:
Timestamp:
Jul 21, 2006, 2:16:21 AM (19 years ago)
Author:
Thorsten Glaser <tg@…>
Branches:
freewrt_1_0, freewrt_2_0
Children:
918291b
Parents:
f0ab706
Message:

this is how you fix Makefiles for packages whose distfiles
do not have subdirectories: just set WRKBUILD to ${WRKDIR}
and let it auto-extract, which is fine now since we use a
subdirectory. this is only an example for wbx@ who wants to
fix every single package out there ;)

git-svn-id: svn://www.freewrt.org/trunk/freewrt@308 afb5a338-a214-0410-bd46-81f09a774fd1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • package/gcom/Makefile

    rf0ab706 rb266f30  
    1515include $(TOPDIR)/package/rules.mk
    1616
     17WRKBUILD=${WRKDIR}
     18
    1719$(eval $(call PKG_template,GCOM,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
    18 
    19 $(WRKBUILD)/.prepared:
    20         rm -rf $(WRKBUILD)
    21         mkdir -p $(WRKBUILD)
    22         # the .tgz is different - no subdirectory, so do this manually
    23         zcat $(DL_DIR)/$(PKG_SOURCE) | (cd $(WRKBUILD); $(TAR_EXTRACT) )
    24         if [ -d ./patches ]; then $(PATCH) $(WRKBUILD) ./patches ; fi
    25         touch $@
    2620
    2721$(WRKBUILD)/.configured:
Note: See TracChangeset for help on using the changeset viewer.