|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1acd97 |
#
|
|
Lucio Andrés Illanes Albornoz |
2b85d0 |
# set +o errexit -o noglob is assumed.
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1acd97 |
#
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1acd97 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1acd97 |
pkg_libsolv_configure() {
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1acd97 |
rm -f config.cache;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1acd97 |
env CFLAGS="-L${PKG_PREFIX}/lib --sysroot=${PKG_PREFIX}" \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1acd97 |
PREFIX="" \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1acd97 |
cmake -DCMAKE_FIND_ROOT_PATH="${PKG_PREFIX}" \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1acd97 |
-DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1acd97 |
-DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1acd97 |
-DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1acd97 |
-DCMAKE_AR="${PREFIX}/bin/${PKG_AR}" \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1acd97 |
-DCMAKE_C_COMPILER="${PREFIX}/bin/${PKG_CC}" \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1acd97 |
-DCMAKE_CXX_COMPILER="${PREFIX}/bin/${PKG_TARGET}-g++" \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1acd97 |
-DCMAKE_INSTALL_PREFIX= \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1acd97 |
-DCMAKE_RANLIB="${PREFIX}/bin/${PKG_RANLIB}" \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1acd97 |
-DFEDORA=1 \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1acd97 |
-DWITH_LIBXML2:BOOL=ON \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1acd97 |
-DENABLE_COMPLEX_DEPS:BOOL=ON \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1acd97 |
-DENABLE_RPMDB_BYRPMHEADER:BOOL=ON \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1acd97 |
-DENABLE_RPMDB_LIBRPM:BOOL=ON \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1acd97 |
-DENABLE_RPMPKG_LIBRPM:BOOL=ON \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1acd97 |
-DENABLE_LZMA_COMPRESSION:BOOL=ON \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1acd97 |
-DENABLE_BZIP2_COMPRESSION:BOOL=ON \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1acd97 |
-DENABLE_COMPS:BOOL=ON \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1acd97 |
-DENABLE_APPDATA:BOOL=ON \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1acd97 |
-DENABLE_RPMDB:BOOL=ON \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1acd97 |
-DENABLE_RPMMD:BOOL=ON \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1acd97 |
-DLIBXML2_LIBRARIES="${PKG_PREFIX}/lib/libxml2.lib.a" \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1acd97 |
-DBZIP2_LIBRARIES="${PKG_PREFIX}/lib/libbz2.lib.a" \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1acd97 |
-DLZMA_INCLUDE_DIR="${PKG_PREFIX}/include" \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1acd97 |
-DLZMA_LIBRARY="${PKG_PREFIX}/lib/liblzma.lib.a" \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1acd97 |
-DZLIB_INCLUDE_DIR="${PKG_PREFIX}/include" \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1acd97 |
-DZLIB_LIBRARY="${PKG_PREFIX}/lib/libz.a" \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1acd97 |
"../libsolv-${PKG_VERSION}";
|
|
Lucio Andrés Illanes Albornoz |
3ed50a |
};
|
|
Lucio Andrés Illanes Albornoz |
3ed50a |
|
|
Lucio Andrés Illanes Albornoz |
3ed50a |
# vim:filetype=sh
|