wok diff lua/receipt @ rev 14788

dialog: fix dialog.desktop
author Richard Dunbar <mojo@slitaz.org>
date Mon Jul 08 02:17:10 2013 +0000 (2013-07-08)
parents 2161c145d5b3
children 2a5cc8208d36
line diff
     1.1 --- a/lua/receipt	Wed Jun 08 23:16:35 2011 +0200
     1.2 +++ b/lua/receipt	Mon Jul 08 02:17:10 2013 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="lua"
     1.7 -VERSION="5.1.4"
     1.8 +VERSION="5.2.1"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Powerful, fast, light-weight, embeddable scripting language."
    1.11  DEPENDS="readline ncurses"
    1.12 @@ -15,10 +15,12 @@
    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#/usr/local/#/usr/#" src/luaconf.h
    1.18  	sed -i s"/-O2/-Os -march=$ARCH/" src/Makefile
    1.19  	make linux &&
    1.20 +	# lua.pc
    1.21 +	make pc > lua.pc &&
    1.22 +	sed -i "s#/local##g" lua.pc &&
    1.23  	make install \
    1.24  		INSTALL_TOP=$DESTDIR/usr \
    1.25  		INSTALL_MAN=$DESTDIR/usr/share/man/man1