Changeset 14171


Ignorieren:
Zeitstempel:
18.03.2017 20:24:53 (vor 7 Tagen)
Autor:
er13
Nachricht:

pkg-macros:

  • add support for specifying source filename different from that used in the download-URL: use $(PKG)_SOURCE_DOWNLOAD_NAME to specify the filename part of the download-URL - $($(PKG)_SITE)/$($(PKG)_SOURCE_DOWNLOAD_NAME) will be downloaded and saved to download dir as $($(PKG)_SOURCE)
Datei:
1 bearbeitet

Legende:

Unverändert
Hinzugefügt
Entfernt
  • trunk/make/Makefile.in

    r14089 r14171  
    648648        ln $(MIRROR_DIR)/$($(PKG)_SOURCE) $(DL_DIR); \ 
    649649    else \ 
    650         $(DL_TOOL) $(DL_DIR) $($(PKG)_SOURCE) $($(PKG)_SITE) $(or $($(PKG)_SOURCE_SHA512),$($(PKG)_SOURCE_SHA256),$($(PKG)_SOURCE_SHA1),$($(PKG)_SOURCE_MD5)) $(SILENT); \ 
     650        $(DL_TOOL) \ 
     651            $(DL_DIR) \ 
     652            $(if $($(PKG)_SOURCE_DOWNLOAD_NAME),$($(PKG)_SOURCE_DOWNLOAD_NAME),$($(PKG)_SOURCE)) \ 
     653            $($(PKG)_SITE) \ 
     654            $(or $($(PKG)_SOURCE_SHA512),$($(PKG)_SOURCE_SHA256),$($(PKG)_SOURCE_SHA1),$($(PKG)_SOURCE_MD5)) \ 
     655            $(SILENT) \ 
     656            $(if $($(PKG)_SOURCE_DOWNLOAD_NAME),&& mv -f $(DL_DIR)/$($(PKG)_SOURCE_DOWNLOAD_NAME) $(DL_DIR)/$($(PKG)_SOURCE)); \ 
    651657    fi 
    652658 
     
    658664        ln $(DL_DIR)/$($(PKG)_SOURCE) $(MIRROR_DIR); \ 
    659665    else \ 
    660         $(DL_TOOL) $(MIRROR_DIR) $($(PKG)_SOURCE) $($(PKG)_SITE) $(or $($(PKG)_SOURCE_SHA512),$($(PKG)_SOURCE_SHA256),$($(PKG)_SOURCE_SHA1),$($(PKG)_SOURCE_MD5)) $(SILENT); \ 
     666        $(DL_TOOL) \ 
     667            $(MIRROR_DIR) \ 
     668            $(if $($(PKG)_SOURCE_DOWNLOAD_NAME),$($(PKG)_SOURCE_DOWNLOAD_NAME),$($(PKG)_SOURCE)) \ 
     669            $($(PKG)_SITE) \ 
     670            $(or $($(PKG)_SOURCE_SHA512),$($(PKG)_SOURCE_SHA256),$($(PKG)_SOURCE_SHA1),$($(PKG)_SOURCE_MD5)) \ 
     671            $(SILENT) \ 
     672            $(if $($(PKG)_SOURCE_DOWNLOAD_NAME),&& mv -f $(DL_DIR)/$($(PKG)_SOURCE_DOWNLOAD_NAME) $(DL_DIR)/$($(PKG)_SOURCE)); \ 
    661673    fi 
    662674 
Hinweis: Hilfe zur Verwendung der Changeset-Ansicht finden Sie unter TracChangeset.