forked from minetest-mods/irc
added some docs and mod packer
This commit is contained in:
parent
dfab9bbcd4
commit
f88de06675
7
doc/LICENSE-LuaIRC.txt
Normal file
7
doc/LICENSE-LuaIRC.txt
Normal file
@ -0,0 +1,7 @@
|
||||
Copyright (c) 2007 Jesse Luehrs
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
20
doc/LICENSE-luasocket.txt
Normal file
20
doc/LICENSE-luasocket.txt
Normal file
@ -0,0 +1,20 @@
|
||||
LuaSocket 2.0 license
|
||||
Copyright © 2004-2005 Diego Nehab
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the "Software"),
|
||||
to deal in the Software without restriction, including without limitation
|
||||
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
and/or sell copies of the Software, and to permit persons to whom the
|
||||
Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
DEALINGS IN THE SOFTWARE.
|
15
doc/LICENSE.txt
Normal file
15
doc/LICENSE.txt
Normal file
@ -0,0 +1,15 @@
|
||||
|
||||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||
Version 2, December 2004
|
||||
|
||||
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
|
||||
|
||||
Everyone is permitted to copy and distribute verbatim or modified
|
||||
copies of this license document, and changing it is allowed as long
|
||||
as the name is changed.
|
||||
|
||||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. You just DO WHAT THE FUCK YOU WANT TO.
|
||||
|
20
packmod.sh
Normal file → Executable file
20
packmod.sh
Normal file → Executable file
@ -13,9 +13,9 @@ else
|
||||
fi
|
||||
|
||||
if [ -e "$bindir/src/luasocket/libluasocket.dll" ]; then
|
||||
lib="$bindir/src/luasocket/libluasocket.dll;
|
||||
lib="$bindir/src/luasocket/libluasocket.dll";
|
||||
elif [ -e "$bindir/src/luasocket/libluasocket.so" ]; then
|
||||
lib="$bindir/src/luasocket/libluasocket.so;
|
||||
lib="$bindir/src/luasocket/libluasocket.so";
|
||||
else
|
||||
echo "Error: Couldn't find luasocket lib." >&2;
|
||||
echo " Did you compile before running this script?" >&2;
|
||||
@ -24,19 +24,14 @@ fi
|
||||
|
||||
version="`cat "$srcdir/CMakeLists.txt" \
|
||||
| grep 'MINETEST_IRC_VERSION' \
|
||||
| sed -e 's/^set(MINETEST_IRC_VERSION \([^)]*\)/\1/'`";
|
||||
| sed -e 's/^set(MINETEST_IRC_VERSION \([^)]*\))/\1/'`";
|
||||
|
||||
mkdir "$srcdir/irc-$version";
|
||||
|
||||
files_luairc="\
|
||||
$srcdir/src/luairc/irc.lua
|
||||
$srcdir/src/luairc/irc/channel.lua
|
||||
$srcdir/src/luairc/irc/constants.lua
|
||||
$srcdir/src/luairc/irc/ctcp.lua
|
||||
$srcdir/src/luairc/irc/dcc.lua
|
||||
$srcdir/src/luairc/irc/debug.lua
|
||||
$srcdir/src/luairc/irc/message.lua
|
||||
$srcdir/src/luairc/irc/misc.lua
|
||||
$srcdir/src/luairc/irc
|
||||
$srcdir/doc/LICENSE-LuaIRC.txt
|
||||
";
|
||||
|
||||
files_luasocket="\
|
||||
@ -48,11 +43,14 @@ $srcdir/src/luasocket/smtp.lua
|
||||
$srcdir/src/luasocket/socket.lua
|
||||
$srcdir/src/luasocket/tp.lua
|
||||
$srcdir/src/luasocket/url.lua
|
||||
$srcdir/doc/LICENSE-luasocket.txt
|
||||
$lib
|
||||
";
|
||||
|
||||
files="\
|
||||
$srcdir/src/init.lua
|
||||
$srcdir/README.txt
|
||||
$srcdir/doc/LICENSE.txt
|
||||
$files_luairc
|
||||
$files_luasocket
|
||||
";
|
||||
@ -64,7 +62,7 @@ IFS='
|
||||
echo "Copying files...";
|
||||
for file in $files; do
|
||||
IFS="$oIFS";
|
||||
cp "$file" "$srcdir/irc-$version/";
|
||||
cp -fr "$file" "$srcdir/irc-$version/";
|
||||
done
|
||||
|
||||
echo "Operation completed successfully!";
|
||||
|
Loading…
Reference in New Issue
Block a user