Blame groups.d/251.native_packages_lib.d/libsolv.package

b2c1ea
: ${PKG_LIBSOLV_DEPENDS:="bzip2 libxml2 libz musl_compat rpm"};
b2c1ea
: ${PKG_LIBSOLV_SHA256SUM:=153eb48814ffdbac396c98126037cf45c07e2b7087a61f86eb18a75ea1ab134b};
b2c1ea
: ${PKG_LIBSOLV_VERSION:=0.6.34};
b2c1ea
: ${PKG_LIBSOLV_URL:=https://github.com/openSUSE/libsolv/archive/${PKG_LIBSOLV_VERSION}.tar.gz};
b2c1ea
: ${PKG_LIBSOLV_SUBDIR:=libsolv-${PKG_LIBSOLV_VERSION}};
b2c1ea
: ${PKG_LIBSOLV_CMAKE_ARGS_EXTRA:="
b2c1ea
	-DBZIP2_LIBRARIES=${PREFIX_NATIVE}/lib/libbz2.lib.a
b2c1ea
	-DENABLE_APPDATA:BOOL=ON
b2c1ea
	-DENABLE_BZIP2_COMPRESSION:BOOL=ON
b2c1ea
	-DENABLE_COMPLEX_DEPS:BOOL=ON
b2c1ea
	-DENABLE_COMPS:BOOL=ON
b2c1ea
	-DENABLE_LZMA_COMPRESSION:BOOL=ON
b2c1ea
	-DENABLE_RPMDB:BOOL=ON
b2c1ea
	-DENABLE_RPMDB_BYRPMHEADER:BOOL=ON
b2c1ea
	-DENABLE_RPMDB_LIBRPM:BOOL=ON
b2c1ea
	-DENABLE_RPMMD:BOOL=ON
b2c1ea
	-DENABLE_RPMPKG_LIBRPM:BOOL=ON
b2c1ea
	-DFEDORA=1
b2c1ea
	-DLIBXML2_LIBRARIES=${PREFIX_NATIVE}/lib/libxml2.lib.a
b2c1ea
	-DLZMA_INCLUDE_DIR=${PREFIX_NATIVE}/include
b2c1ea
	-DLZMA_LIBRARY=${PREFIX_NATIVE}/lib/liblzma.lib.a
b2c1ea
	-DRPMIO_LIBRARY=${PREFIX_NATIVE}/lib/librpmio.so
b2c1ea
	-DWITH_LIBXML2:BOOL=ON
b2c1ea
	-DZLIB_INCLUDE_DIR=${PREFIX_NATIVE}/include
b2c1ea
	-DZLIB_LIBRARY=${PREFIX_NATIVE}/lib/libz.a"};
b2c1ea
b2c1ea
ex_pkg_register "libsolv" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
b2c1ea
b2c1ea
# vim:filetype=sh textwidth=0