Makefile
changeset 23 ddac0d77cb11
parent 21 5c0a6affeafa
child 26 5d6dc1aaf7ad
equal deleted inserted replaced
21:5c0a6affeafa 23:ddac0d77cb11
    80 define get_src_http
    80 define get_src_http
    81 dld=$(distfiles)/`echo $(2) | tr ' ()' '___'`;( ( [ -f $$dld ] || wget $(1)/$(2) -O $$dld ) && ( [ ! -f $$dld.md5 ] && (cd $(distfiles);md5sum `basename $$dld`) > $$dld.md5 || (cd $(distfiles);md5sum -c `basename $$dld.md5`) ) ) &&
    81 dld=$(distfiles)/`echo $(2) | tr ' ()' '___'`;( ( [ -f $$dld ] || wget $(1)/$(2) -O $$dld ) && ( [ ! -f $$dld.md5 ] && (cd $(distfiles);md5sum `basename $$dld`) > $$dld.md5 || (cd $(distfiles);md5sum -c `basename $$dld.md5`) ) ) &&
    82 endef
    82 endef
    83 
    83 
    84 define get_src_pypi
    84 define get_src_pypi
    85 $(call get_src_http,http://pypi.python.org/packages/$(1),$(2))
    85 $(call get_src_http,https://pypi.python.org/packages/$(1),$(2))
    86 endef
    86 endef
    87 
    87 
    88 define get_src_sf
    88 define get_src_sf
    89 $(call get_src_http,http://$(sfmirror).sourceforge.net/project/$(1),$(2))
    89 $(call get_src_http,http://$(sfmirror).sourceforge.net/project/$(1),$(2))
    90 endef
    90 endef