Difference between revisions of "Libical"
From CBLFS
Jump to navigationJump to search (→Optional) |
|||
Line 35: | Line 35: | ||
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 && | ||
+ | sed -i "s/ld -shared/& ${LD_BUILD32}/" src/python/Makefile.in && | ||
CC="gcc ${BUILD32}" ./configure --prefix=/usr \ | CC="gcc ${BUILD32}" ./configure --prefix=/usr \ | ||
--enable-python-bindings=yes && | --enable-python-bindings=yes && | ||
Line 50: | Line 51: | ||
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 && | ||
+ | sed -i "s/ld -shared/& ${LD_BUILDN32}/" src/python/Makefile.in && | ||
CC="gcc ${BUILDN32}" ./configure --prefix=/usr \ | CC="gcc ${BUILDN32}" ./configure --prefix=/usr \ | ||
--libdir=/usr/lib32 --enable-python-bindings=yes && | --libdir=/usr/lib32 --enable-python-bindings=yes && | ||
Line 65: | Line 67: | ||
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 && | ||
+ | sed -i "s/ld -shared/& ${LD_BUILD64}/" src/python/Makefile.in && | ||
CC="gcc ${BUILD64}" ./configure --prefix=/usr \ | CC="gcc ${BUILD64}" ./configure --prefix=/usr \ | ||
--libdir=/usr/lib64 --enable-python-bindings=yes && | --libdir=/usr/lib64 --enable-python-bindings=yes && |
Revision as of 16:38, 7 October 2006
Download Source: | http://www.softwarestudio.org/download/libical-0.23.tar.gz |
---|---|
Required Patch: | http://svn.cross-lfs.org/svn/repos/patches/libical/libical-0.23-config_update-1.patch |
Dependencies
Optional
Non-Multilib
Compile the package:
patch -Np1 -i ../libical-0.23-config_update-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 && 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 && 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 && 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