Revision: | 1.5 |
Committed: | Tue May 22 10:24:07 2007 UTC (17 years, 11 months ago) by elmer |
Branch: | MAIN |
CVS Tags: | ge20070629, pe20070626c-ports, ge20070625, pe20070626b-ports, sm20070626a-ports, pe20070626a-ports, pe20070625b-ports, pe20070625a-ports, pe20070624a-ports, ge20070622, pe20070607a-ports |
Changes since 1.4: | +3 -3 lines |
Log Message: | o Updates to use %realversion from rpm-preamble o Versions all updated to -XXXX (we can choose the actual rebuild naming convention in a second pass) |
# | User | Rev | Content |
---|---|---|---|
1 | elmer | 1.5 | ### RPM external uuid 1.38-XXXX |
2 | argiro | 1.1 | # Patches by Lassi A. Tuura <lat@iki.fi> (FIXME: contribute to e2fsprogs) |
3 | elmer | 1.5 | Source: http://switch.dl.sourceforge.net/sourceforge/e2fsprogs/e2fsprogs-%realversion.tar.gz |
4 | argiro | 1.1 | |
5 | #Patch0: uuid | ||
6 | #Patch1: uuid-osx | ||
7 | |||
8 | %prep | ||
9 | elmer | 1.5 | %setup -n e2fsprogs-%realversion |
10 | argiro | 1.1 | #%patch0 |
11 | #%ifos darwin | ||
12 | #%patch1 | ||
13 | #endif | ||
14 | |||
15 | %build | ||
16 | ./configure $([ $(uname) != Darwin ] && echo --enable-elf-shlibs) --prefix=%i | ||
17 | make lib/ext2fs/ext2_types.h | ||
18 | cd lib/uuid | ||
19 | make | ||
20 | |||
21 | %install | ||
22 | mkdir -p %i/lib | ||
23 | mkdir -p %i/include | ||
24 | cd lib/uuid | ||
25 | make install | ||
26 | eulisse | 1.2 | %post |
27 | ln -sf $RPM_INSTALL_PREFIX/%cmsplatf/external/%n/%v/lib/libuuid.so.1.2 $RPM_INSTALL_PREFIX/%cmsplatf/external/%n/%v/lib/libuuid.so |