소스 검색

fix pkg-config urls

ruki 6 년 전
부모
커밋
10226ee024
1개의 변경된 파일3개의 추가작업 그리고 7개의 파일을 삭제
  1. 3 7
      packages/p/pkg-config/xmake.lua

+ 3 - 7
packages/p/pkg-config/xmake.lua

@@ -5,13 +5,9 @@ package("pkg-config")
     set_description("A helper tool used when compiling applications and libraries.")
     set_description("A helper tool used when compiling applications and libraries.")
 
 
     if is_host("macosx", "linux") then
     if is_host("macosx", "linux") then
-        add_urls("https://pkgconfig.freedesktop.org/releases/pkg-config-$(version).tar.gz", {alias = "freedesktop"})
-        add_urls("https://github.com/xmake-mirror/pkg-config/archive/pkg-config-$(version).tar.gz", {alias = "github"})
-        add_urls("https://gitlab.com/xmake-mirror/pkg-config/-/archive/pkg-config-$(version)/pkg-config-pkg-config-$(version).tar.gz", {alias = "gitlab"})
-        add_urls("https://gitlab.freedesktop.org/pkg-config/pkg-config.git")
-        add_versions("freedesktop:0.29.2", "6fc69c01688c9458a57eb9a1664c9aba372ccda420a02bf4429fe610e7e7d591")
-        add_versions("github:0.29.2", "67d89af4777653f81f18a6c42620fb51536fea469d412c932b9c7a411f62458a")
-        add_versions("gitlab:0.29.2", "67d89af4777653f81f18a6c42620fb51536fea469d412c932b9c7a411f62458a")
+        add_urls("https://pkgconfig.freedesktop.org/releases/pkg-config-$(version).tar.gz")
+		add_urls("http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/pkgconfig/pkg-config-$(version).tar.g")
+        add_versions("0.29.2", "6fc69c01688c9458a57eb9a1664c9aba372ccda420a02bf4429fe610e7e7d591")
     end
     end
 
 
     on_install("macosx", "linux", function (package)
     on_install("macosx", "linux", function (package)