ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/lua.spec
Revision: 1.4
Committed: Wed Sep 21 13:33:32 2011 UTC (13 years, 7 months ago) by eulisse
Branch: MAIN
CVS Tags: ge20110921-gcc461-ports
Changes since 1.3: +3 -1 lines
Log Message:
Remove the old, by hand, cleanups and use the new macro based system.

File Contents

# User Rev Content
1 eulisse 1.1 ### RPM external lua 5.1.4
2     Source0: http://www.lua.org/ftp/lua-%realversion.tar.gz
3    
4     %build
5 eulisse 1.2 perl -p -i -e 's|^CFLAGS=|CFLAGS=-fPIC|' src/Makefile
6 eulisse 1.1 case %cmsplatf in
7     osx*)
8     make macosx
9     ;;
10     *)
11     make linux
12     ;;
13     esac
14     %install
15     make install INSTALL_TOP=%i
16 eulisse 1.4 %define keep_archives true
17     %define strip_files %i/{lib,bin}
18     %define drop_files %i/{share,man}