ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/zlib.spec
Revision: 1.7
Committed: Wed Apr 18 23:46:02 2007 UTC (18 years ago) by ratnik
Branch: MAIN
CVS Tags: pe20070428a-ports, pe20070423b-ports, pe20070423a-ports
Changes since 1.6: +2 -0 lines
Log Message:
Changes for building  externals in 64/32 mode: added gcc-wrapper .

File Contents

# Content
1 ### RPM external zlib 1.1.4
2 Requires: gcc-wrapper
3 Source: http://www.gzip.org/%n/%n-%v.tar.bz2
4
5 %build
6 ## IMPORT gcc-wrapper
7 case $(uname) in
8 Darwin )
9 LDSHARED="gcc -dynamiclib" ./configure --shared --prefix=%i
10 make LIBS='libz.dylib.$(VER)' SHAREDLIB=libz.dylib # FIXME: libz.$(VER).dylib
11 ;;
12
13 * )
14 ./configure --shared --prefix=%i
15 make %makeprocesses
16 ;;
17 esac
18
19 %install
20 case $(uname) in
21 Darwin ) make install LIBS='libz.dylib.$(VER)' SHAREDLIB=libz.dylib ;;
22 * ) make install ;;
23 esac
24 #
25 #