Difference between revisions of "Libical"
From CBLFS
Jump to navigationJump to searchLine 6: | Line 6: | ||
!Required Patch: | !Required Patch: | ||
| http://svn.cross-lfs.org/svn/repos/patches/libical/libical-0.23-config_update-1.patch | | http://svn.cross-lfs.org/svn/repos/patches/libical/libical-0.23-config_update-1.patch | ||
+ | |- | ||
+ | !Required Patch: | ||
+ | | http://svn.cross-lfs.org/svn/repos/patches/libical/libical-0.23-gcc4_fixes-1.patch | ||
|} | |} | ||
Line 20: | Line 23: | ||
patch -Np1 -i ../libical-0.23-config_update-1.patch && | patch -Np1 -i ../libical-0.23-config_update-1.patch && | ||
+ | patch -Np1 -i ../libical-0.23-gcc4_fixes-1.patch && | ||
./configure --prefix=/usr --enable-python-bindings=yes && | ./configure --prefix=/usr --enable-python-bindings=yes && | ||
make | make | ||
Line 35: | Line 39: | ||
export USE_ARCH=32 && | export USE_ARCH=32 && | ||
patch -Np1 -i ../libical-0.23-config_update-1.patch && | patch -Np1 -i ../libical-0.23-config_update-1.patch && | ||
+ | patch -Np1 -i ../libical-0.23-gcc4_fixes-1.patch && | ||
sed -i "s/ld -shared/& ${LD_BUILD32}/" src/python/Makefile.in && | sed -i "s/ld -shared/& ${LD_BUILD32}/" src/python/Makefile.in && | ||
CC="gcc ${BUILD32}" ./configure --prefix=/usr \ | CC="gcc ${BUILD32}" ./configure --prefix=/usr \ | ||
Line 51: | Line 56: | ||
export USE_ARCH=n32 && | export USE_ARCH=n32 && | ||
patch -Np1 -i ../libical-0.23-config_update-1.patch && | patch -Np1 -i ../libical-0.23-config_update-1.patch && | ||
+ | patch -Np1 -i ../libical-0.23-gcc4_fixes-1.patch && | ||
sed -i "s/ld -shared/& ${LD_BUILDN32}/" src/python/Makefile.in && | sed -i "s/ld -shared/& ${LD_BUILDN32}/" src/python/Makefile.in && | ||
CC="gcc ${BUILDN32}" ./configure --prefix=/usr \ | CC="gcc ${BUILDN32}" ./configure --prefix=/usr \ | ||
Line 67: | Line 73: | ||
export USE_ARCH=64 && | export USE_ARCH=64 && | ||
patch -Np1 -i ../libical-0.23-config_update-1.patch && | patch -Np1 -i ../libical-0.23-config_update-1.patch && | ||
+ | patch -Np1 -i ../libical-0.23-gcc4_fixes-1.patch && | ||
sed -i "s/ld -shared/& ${LD_BUILD64}/" src/python/Makefile.in && | sed -i "s/ld -shared/& ${LD_BUILD64}/" src/python/Makefile.in && | ||
CC="gcc ${BUILD64}" ./configure --prefix=/usr \ | CC="gcc ${BUILD64}" ./configure --prefix=/usr \ |
Revision as of 16:41, 7 October 2006
Dependencies
Optional
Non-Multilib
Compile the package:
patch -Np1 -i ../libical-0.23-config_update-1.patch && patch -Np1 -i ../libical-0.23-gcc4_fixes-1.patch && ./configure --prefix=/usr --enable-python-bindings=yes && make
Install the package
make install
Multilib
32Bit
Compile the package:
export USE_ARCH=32 && patch -Np1 -i ../libical-0.23-config_update-1.patch && patch -Np1 -i ../libical-0.23-gcc4_fixes-1.patch && sed -i "s/ld -shared/& ${LD_BUILD32}/" src/python/Makefile.in && CC="gcc ${BUILD32}" ./configure --prefix=/usr \ --enable-python-bindings=yes && make
Install the package
make install && unset USE_ARCH
N32
Compile the package:
export USE_ARCH=n32 && patch -Np1 -i ../libical-0.23-config_update-1.patch && patch -Np1 -i ../libical-0.23-gcc4_fixes-1.patch && sed -i "s/ld -shared/& ${LD_BUILDN32}/" src/python/Makefile.in && CC="gcc ${BUILDN32}" ./configure --prefix=/usr \ --libdir=/usr/lib32 --enable-python-bindings=yes && make
Install the package
make install && unset USE_ARCH
64Bit
Compile the package:
export USE_ARCH=64 && patch -Np1 -i ../libical-0.23-config_update-1.patch && patch -Np1 -i ../libical-0.23-gcc4_fixes-1.patch && sed -i "s/ld -shared/& ${LD_BUILD64}/" src/python/Makefile.in && CC="gcc ${BUILD64}" ./configure --prefix=/usr \ --libdir=/usr/lib64 --enable-python-bindings=yes && make
Install the package
make install && unset USE_ARCH