haiku/build/jam/repositories/Haiku

30 lines
780 B
Plaintext
Raw Normal View History

# Builds the Haiku packages repository.
local haikuRepository = <repository>haiku ;
MakeLocate $(haikuRepository)
: $(HAIKU_PACKAGE_REPOSITORIES_DIR_$(HAIKU_PACKAGING_ARCH)) ;
local repoInfo = <repository-info>haiku ;
SEARCH on $(repoInfo) = $(HAIKU_TOP)/src/data/repository_infos ;
local secondaryArchs = $(TARGET_PACKAGING_ARCHS[2-]) ;
local packages =
haiku
haiku_devel
haiku_loader
haiku_userguide
haiku_welcome
makefile_engine
haiku_$(secondaryArchs)
haiku_$(secondaryArchs)_devel
;
# TODO : the following should be used once WebPositive builds on x86_64
# if $(TARGET_PACKAGING_ARCH) != x86_gcc2 || $(secondaryArchs) {
if x86 in $(HAIKU_PACKAGING_ARCHS) {
packages += webpositive ;
}
HaikuRepository $(haikuRepository) : $(repoInfo) : $(packages:S=.hpkg) ;