Overview
| Comment: | Migrated zlib to new build script | 
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive | 
| Timelines: | family | ancestors | descendants | both | trunk | 
| Files: | files | file ages | folders | 
| SHA1: | 
4ad42dd533905a7284657e7e1c08a335 | 
| User & Date: | rkeene on 2016-09-06 03:43:46 | 
| Other Links: | manifest | tags | 
Context
| 
   2016-09-06 
 | ||
| 03:44 | Updated to not print a spurious error to the kitsh build log when Tk is not built check-in: a23f2effdc user: rkeene tags: trunk | |
| 03:43 | Migrated zlib to new build script check-in: 4ad42dd533 user: rkeene tags: trunk | |
| 03:43 | Updated to always create output directory check-in: 229a39bab1 user: rkeene tags: trunk | |
Changes
Modified zlib/build.sh from [9b9da94e1d] to [b64777234b].
1 2  | #! /usr/bin/env bash  | < < | < < < < < < < | < | | < < < < < < < < < < | < < | < < < < < < < < < < < < < < < < < < < < | < < | < < < < < < < < < | < < < < < < | | < | | < >  | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28  | 
#! /usr/bin/env bash
# BuildCompatible: KitCreator
version="1.2.8"
url="http://sourceforge.net/projects/libpng/files/zlib/${version}/zlib-${version}.tar.gz"
sha256='36658cb768a54c1d4dec43c3116c27ed893e88b02ecfcb44f2166f9c0b7f2a0d'
function configure() {
	case "$(uname -s 2>/dev/null | dd conv=lcase 2>/dev/null)" in
		mingw*)
			cp win32/Makefile.gcc Makefile
			make_extra=(BINARY_PATH="${installdir}/bin" INCLUDE_PATH="${installdir}/include" LIBRARY_PATH="${installdir}/lib")
			;;
		*)
			if [ "${KITTARGET}" = "kitdll" ]; then
				CFLAGS="${CFLAGS} -fPIC"
				export CFLAGS
			fi
			./configure --prefix="${installdir}" --libdir="${installdir}/lib" --static
			;;
	esac
}
function createruntime() {
	:
}
 |