… | |
… | |
10 | SO=so |
10 | SO=so |
11 | SYSLIB=/usr/lib |
11 | SYSLIB=/usr/lib |
12 | MAKE=make |
12 | MAKE=make |
13 | ARCHNAME=x86 |
13 | ARCHNAME=x86 |
14 | GENPACK_ENVVARS="LD_LIBRARY_PATH=." |
14 | GENPACK_ENVVARS="LD_LIBRARY_PATH=." |
|
|
15 | EXTRA_EXTRACT= |
15 | |
16 | |
16 | umask 022 |
17 | umask 022 |
17 | |
18 | |
18 | if [ "$(uname -s)" = CYGWIN_NT-5.0 ]; then |
19 | if [ "$(uname -s)" = CYGWIN_NT-5.0 ]; then |
19 | . ~/.setenv |
20 | . ~/.setenv |
… | |
… | |
26 | SYSLIB=/c/gtk/bin |
27 | SYSLIB=/c/gtk/bin |
27 | LIBEXT=dll |
28 | LIBEXT=dll |
28 | LIB0=dll |
29 | LIB0=dll |
29 | SO=dll |
30 | SO=dll |
30 | STRIP=":" # stripping the perl library kills it, and apparently, everythignis always stripped |
31 | STRIP=":" # stripping the perl library kills it, and apparently, everythignis always stripped |
|
|
32 | EXTRA_EXTRACT="-MWin32::GUI::SplashScreen" |
31 | |
33 | |
32 | # fontconfig apparently ignores env vars and always looks at ./etc/fonts/fonts.conf, |
34 | # fontconfig apparently ignores env vars and always looks at ./etc/fonts/fonts.conf, |
33 | # but only if . isn't actually called bin or lib. hope for the best. |
35 | # but only if . isn't actually called bin or lib. hope for the best. |
34 | GENPACK_ENVVARS="FONTCONFIG_PATH=pm/Deliantra/Client/private/resources/fonts FONTCONFIG_FILE=fonts.conf" |
36 | GENPACK_ENVVARS="FONTCONFIG_PATH=pm/Deliantra/Client/private/resources/fonts FONTCONFIG_FILE=fonts.conf" |
35 | |
37 | |
… | |
… | |
65 | export DIST="$(pwd)/$DISTf" |
67 | export DIST="$(pwd)/$DISTf" |
66 | |
68 | |
67 | eval $("$PERL" -V:sitebinexp:) |
69 | eval $("$PERL" -V:sitebinexp:) |
68 | |
70 | |
69 | "$PERL" "$sitebinexp"/perl-libextractor --exedir . --dlldir . --bindir pm/bin --libdir pm \ |
71 | "$PERL" "$sitebinexp"/perl-libextractor --exedir . --dlldir . --bindir pm/bin --libdir pm \ |
70 | --perl --core-support --script deliantra \ |
72 | --perl --core-support --script deliantra $EXTRA_EXTRACT \ |
71 | --runtime-only --strip \ |
73 | --runtime-only \ |
72 | --copy "$DISTf" |
74 | --copy "$DISTf" |
73 | |
75 | |
74 | cat <<EOF >"$DIST"/pango.rc |
76 | cat <<EOF >"$DIST"/pango.rc |
75 | [Pango] |
77 | [Pango] |
76 | ModuleFiles = pango.modules |
78 | ModuleFiles = pango.modules |