ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cf.schmorp.de/Deliantra-Client/makebin.linux
(Generate patch)

Comparing cf.schmorp.de/Deliantra-Client/makebin.linux (file contents):
Revision 1.26 by root, Fri Jul 29 08:35:35 2011 UTC vs.
Revision 1.27 by root, Wed Dec 28 19:58:59 2011 UTC

19 PP=/usr/local/bin/pp 19 PP=/usr/local/bin/pp
20 LIBDB=db-4.7 20 LIBDB=db-4.7
21 ARCHNAME=amd64 21 ARCHNAME=amd64
22 PERLARCH=x86_64-linux-gnu-thread-multi 22 PERLARCH=x86_64-linux-gnu-thread-multi
23fi 23fi
24
25read EXE_VER <exe_ver
24 26
25PANGO=1.5.0 27PANGO=1.5.0
26#PERL=/opt/perl 28#PERL=/opt/perl
27#PERLLIB=/opt/perl/lib/perl5/ 29#PERLLIB=/opt/perl/lib/perl5/
28#PANGO=1.6.0 30#PANGO=1.6.0
48 printf "%s" "$PANGO" >pangoversion 50 printf "%s" "$PANGO" >pangoversion
49#pangoversion;root/pangoversion 51#pangoversion;root/pangoversion
50 cat <<EOF 52 cat <<EOF
51pango-1.0.so.0;shlib/$PERLARCH/libpango-1.0.so.0 53pango-1.0.so.0;shlib/$PERLARCH/libpango-1.0.so.0
52/usr/lib/libglib-2.0.so.0;shlib/$PERLARCH/libglib-2.0.so.0 54/usr/lib/libglib-2.0.so.0;shlib/$PERLARCH/libglib-2.0.so.0
55/usr/lib/libgthread-2.0.so.0;shlib/$PERLARCH/libgthread-2.0.so.0
56/usr/lib/libgobject-2.0.so.0;shlib/$PERLARCH/libgobject-2.0.so.0
57/usr/lib/libgmodule-2.0.so.0;shlib/$PERLARCH/libgmodule-2.0.so.0
53/usr/lib/libstdc++.so.6;shlib/$PERLARCH/libstdc++.so.6 58/usr/lib/libstdc++.so.6;shlib/$PERLARCH/libstdc++.so.6
54/lib/libgcc_s.so.1;shlib/$PERLARCH/libgcc_s.so.1 59/lib/libgcc_s.so.1;shlib/$PERLARCH/libgcc_s.so.1
55pango-1.0.so.0;shlib/$PERLARCH/libpango-1.0.so.0
56docwiki.pst;root/Deliantra/Client/private/resources/docwiki.pst 60docwiki.pst;root/Deliantra/Client/private/resources/docwiki.pst
57EOF 61EOF
58#/usr/lib/pango/$PANGO;root/usr/lib/pango/$PANGO 62#/usr/lib/pango/$PANGO;root/usr/lib/pango/$PANGO
59 63
60 cat <<EOF >pango.rc 64 cat <<EOF >pango.rc
95 ) 5>pango.modules 99 ) 5>pango.modules
96 echo "pango.modules;root/pango.modules" 100 echo "pango.modules;root/pango.modules"
97 101
98 perl -ne '/^(resources\/.*)/ and print "$1;root/Deliantra/Client/private/$1\n"' <MANIFEST 102 perl -ne '/^(resources\/.*)/ and print "$1;root/Deliantra/Client/private/$1\n"' <MANIFEST
99 103
104 cat >/tmp/exe-info-$ARCHNAME.pl <<EOF
105\$EXE_ID = "schmorp1-linux-$ARCHNAME";
106\$EXE_VER = "$EXE_VER";
1071;
108EOF
109 echo "/tmp/exe-info-$ARCHNAME.pl;lib/exe-info.pl"
100) >addlist 110) >addlist
101 111
102trap "rm addlist pangoversion pango-1.0.so.0 fonts.conf" 0 112trap "rm addlist pangoversion pango-1.0.so.0 fonts.conf" 0
103 113
104$PERL/bin/perl Makefile.PL 114$PERL/bin/perl Makefile.PL
114 -M AnyEvent::Impl::EV \ 124 -M AnyEvent::Impl::EV \
115 -M attributes \ 125 -M attributes \
116 -M utf8 \ 126 -M utf8 \
117 -a "blib/arch/auto/Deliantra/Client/Client.so;lib/auto/Deliantra/Client/Client.so" \ 127 -a "blib/arch/auto/Deliantra/Client/Client.so;lib/auto/Deliantra/Client/Client.so" \
118 -l $LIBDB \ 128 -l $LIBDB \
119 -l glib-2.0 -l gobject-2.0 -l gmodule-2.0 \
120 -l pangoft2-1.0 \ 129 -l pangoft2-1.0 \
121 -l SDL \ 130 -l SDL \
122 -l SDL_mixer -l vorbisfile -l vorbis -l ogg -l smpeg -l stdc++ \ 131 -l SDL_mixer -l vorbisfile -l vorbis -l ogg -l smpeg -l mikmod -l stdc++ \
123 -l SDL_image -l png12 -l jpeg -l z \ 132 -l SDL_image -l png12 -l jpeg -l z \
124 -o deliantra-gnu-linux-$ARCHNAME -A addlist bin/deliantra || exit 133 -o deliantra-gnu-linux-$ARCHNAME -A addlist bin/deliantra || exit
125 134
126make clean 135make clean
127 136

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines