1 diff -aur md5-1.0.1.orig/Makefile md5-1.0.1/Makefile
2 --- md5-1.0.1.orig/Makefile 2006-07-24 03:16:37.000000000 +0200
3 +++ md5-1.0.1/Makefile 2007-04-09 21:31:27.973470355 +0200
5 $(CC) -c $(CFLAGS) -o $@ $(COMPAT_DIR)/compat-5.1.c
7 install: src/$(LIBNAME)
8 - mkdir -p $(LUA_LIBDIR)/md5
9 - cp src/$(LIBNAME) $(LUA_LIBDIR)/md5/core.so
11 - cp $(LUAS) $(LUA_DIR)
12 + install -D -m 755 src/$(LIBNAME) $(DESTDIR)$(LUA_LIBDIR)/md5/core.so
13 + install -d $(DESTDIR)$(LUA_DIR)
14 + install -m 644 $(LUAS) $(DESTDIR)$(LUA_DIR)
17 rm -f $(OBJS) src/$(LIBNAME)
18 diff -aur md5-1.0.1.orig/config md5-1.0.1/config
19 --- md5-1.0.1.orig/config 2006-07-24 03:16:37.000000000 +0200
20 +++ md5-1.0.1/config 2007-04-09 21:29:01.514948410 +0200
22 # Installation directories
23 # System's libraries directory (where binary libraries are installed)
24 -LUA_LIBDIR= /usr/local/lib/lua/5.0
25 +LUA_LIBDIR= /usr/lib/lua/5.1
26 # Lua directory (where Lua source libraries will be installed)
27 # This is the LUA_PATH
28 -LUA_DIR= /usr/local/share/lua/5.0
29 +LUA_DIR= /usr/share/lua/5.1
30 # Lua includes directory
31 -LUA_INC= /usr/local/include
32 +LUA_INC= /usr/include
35 LIB_OPTION= -shared #for Linux
37 # (according to Lua 5.1 definition:
38 # first version digit * 100 + second version digit
39 # e.g. Lua 5.0.2 => 500, Lua 5.1 => 501, Lua 5.1.1 => 501)
42 COMPAT_DIR= ../compat/src
44 # Compilation directives