makefile.patch 443 B

123456789101112131415
  1. --- lua-copas-1.2.1_org/Makefile 2014-06-04 16:39:17.451563827 +0800
  2. +++ lua-copas-1.2.1/Makefile 2014-06-04 16:39:41.115563309 +0800
  3. @@ -1,10 +1,10 @@
  4. # $Id: Makefile,v 1.3 2007/10/29 22:50:16 carregal Exp $
  5. # Default prefix
  6. -PREFIX = /usr/local
  7. +PREFIX ?= $(DESTDIR)/usr
  8. # System's lua directory (where Lua libraries are installed)
  9. -LUA_DIR= $(PREFIX)/share/lua/5.1
  10. +LUA_DIR= $(PREFIX)/lib/lua
  11. install:
  12. mkdir -p $(LUA_DIR)/copas