rename set_url and set_mirror to set_urls

pull/3/head
ruki 8 years ago
parent 8abbb6e7e2
commit e5283468c5
  1. 22
      packages/tboox/tbox/xmake.lua
  2. 10
      packages/zlib/xmake.lua

@ -1,14 +1,16 @@
package "tboox.tbox"
set_homepage "http://www.tboox.org"
set_description "A glib-like multi-platform c library"
set_url "https://github.com/tboox/tbox/archive/v$(version).tar.gz"
set_versions ("1.5.0", "1.5.1", "1.5.2", "1.5.3", "1.6.0", "1.6.1")
set_sha256s ("232b7b1776b708ebbdbd47767caa6ae10154c68a146d92391a366aada0d77559",
"00166848e2602234e0481692b5db0804c007b7e5673cf5a17bd1fc889b4917d7",
"e4356f32ff64887706da3d8592433edb7cd5f8ab37d0304c685c967a36169606",
"b9ead60d52045290e40a3fb6d4a01c9e66104a5e875b56f110806d7b0ed53ea3",
"4a2c97bf57214abc95058bd12fe91f12d987814233caba17cc2390f893c802cf",
"2f4424194444ec3dd98bff20bb4a3eb9d9fdd485f1833dde75482beb2c3088f8")
set_homepage "http://www.tboox.org"
set_description "A glib-like multi-platform c library"
set_urls ("https://github.com/tboox/tbox/archive/v$(version).tar.gz",
"git@github.com:tboox/tbox.git",
"git@git.oschina.net:tboox/tbox.git")
set_versions ("1.5.0", "1.5.1", "1.5.2", "1.5.3", "1.6.0", "1.6.1")
set_sha256s ("232b7b1776b708ebbdbd47767caa6ae10154c68a146d92391a366aada0d77559",
"00166848e2602234e0481692b5db0804c007b7e5673cf5a17bd1fc889b4917d7",
"e4356f32ff64887706da3d8592433edb7cd5f8ab37d0304c685c967a36169606",
"b9ead60d52045290e40a3fb6d4a01c9e66104a5e875b56f110806d7b0ed53ea3",
"4a2c97bf57214abc95058bd12fe91f12d987814233caba17cc2390f893c802cf",
"2f4424194444ec3dd98bff20bb4a3eb9d9fdd485f1833dde75482beb2c3088f8")

@ -2,11 +2,11 @@ package "zlib"
set_homepage "http://www.zlib.net"
set_description "A Massively Spiffy Yet Delicately Unobtrusive Compression Library"
set_url "http://zlib.net/zlib-$(version).tar.gz"
set_mirror "https://downloads.sourceforge.net/project/libpng/zlib/$(version)/zlib-$(version).tar.gz"
set_versions ("1.2.10", "1.2.11")
set_sha256s ("8d7e9f698ce48787b6e1c67e6bff79e487303e66077e25cb9784ac8835978017",
"c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1")
set_urls ("http://zlib.net/zlib-$(version).tar.gz",
"https://downloads.sourceforge.net/project/libpng/zlib/$(version)/zlib-$(version).tar.gz")
set_versions ("1.2.10", "1.2.11")
set_sha256s ("8d7e9f698ce48787b6e1c67e6bff79e487303e66077e25cb9784ac8835978017",
"c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1")
-- TODO
on_build(function (package)

Loading…
Cancel
Save