wok-stable diff lua/receipt @ rev 2280

mysql: fix build_depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 19 10:57:51 2009 +0000 (2009-02-19)
parents 5fb27e4bf774
children d04823a784db
line diff
     1.1 --- a/lua/receipt	Mon May 05 14:10:37 2008 +0000
     1.2 +++ b/lua/receipt	Thu Feb 19 10:57:51 2009 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="lua"
     1.7 -VERSION="5.1.3"
     1.8 +VERSION="5.1.4"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Powerful, fast, light-weight, embeddable scripting language."
    1.11  DEPENDS="readline"
    1.12 @@ -15,6 +15,9 @@
    1.13  compile_rules()
    1.14  {
    1.15  	cd $src
    1.16 +	sed -i "s#prefix= /usr/local#prefix= /usr#" etc/lua.pc
    1.17 +	sed -i "s#INSTALL_TOP= /usr/local#INSTALL_TOP=$pkg/usr#" Makefile 
    1.18 +	sed -i "s#/usr/local/#/usr/#" src/luaconf.h
    1.19  	make linux
    1.20  }
    1.21