|
|
|
@ -9,11 +9,8 @@ package("sqlite3") |
|
|
|
|
add_versions("3.24.0", "d9d14e88c6fb6d68de9ca0d1f9797477d82fc3aed613558f87ffbdbbc5ceb74a") |
|
|
|
|
add_versions("3.23.0", "b7711a1800a071674c2bf76898ae8584fc6c9643cfe933cfc1bc54361e3a6e49") |
|
|
|
|
|
|
|
|
|
on_build("windows", function (package) |
|
|
|
|
os.vrun("nmake DEBUG=%s -f Makefile.msc", package:debug() and "1" or "0") |
|
|
|
|
end) |
|
|
|
|
|
|
|
|
|
on_install("windows", function (package) |
|
|
|
|
os.vrun("nmake DEBUG=%s -f Makefile.msc", package:debug() and "1" or "0") |
|
|
|
|
os.cp("*.h", package:installdir("include")) |
|
|
|
|
os.cp("sqlite3.lib", package:installdir("lib")) |
|
|
|
|
os.cp("sqlite3.pdb", package:installdir("lib")) |
|
|
|
@ -21,10 +18,6 @@ package("sqlite3") |
|
|
|
|
os.cp("sqlite3.def", package:installdir("lib")) |
|
|
|
|
end) |
|
|
|
|
|
|
|
|
|
on_build("macosx", "linux", function (package) |
|
|
|
|
import("package.builder.autoconf").build(package, {package:debug() and "--enable-debug" or ""}) |
|
|
|
|
end) |
|
|
|
|
|
|
|
|
|
on_install("macosx", "linux", function (package) |
|
|
|
|
import("package.builder.autoconf").install(package) |
|
|
|
|
import("package.tools.autoconf").install(package, {package:debug() and "--enable-debug" or ""}) |
|
|
|
|
end) |
|
|
|
|