1# Builds the Haiku packages repository. 2 3local haikuRepository = <repository>Haiku ; 4MakeLocate $(haikuRepository) 5 : $(HAIKU_PACKAGE_REPOSITORIES_DIR_$(HAIKU_PACKAGING_ARCH)) ; 6 7local repoInfo = <repository-info-template>haiku ; 8SEARCH on $(repoInfo) = $(HAIKU_TOP)/src/data/repository_infos ; 9 10local secondaryArchs = $(TARGET_PACKAGING_ARCHS[2-]) ; 11local packages = 12 haiku 13 haiku_devel 14 haiku_loader 15 haiku_userguide 16 haiku_welcome 17 makefile_engine 18 19 haiku_$(secondaryArchs) 20 haiku_$(secondaryArchs)_devel 21 ; 22 23local webPositiveIsAvailable ; 24local architectureObject ; 25for architectureObject in [ MultiArchSubDirSetup ] { 26 on $(architectureObject) { 27 if [ FIsBuildFeatureEnabled webpositive ] { 28 webPositiveIsAvailable = true ; 29 break ; 30 } 31 } 32} 33if $(webPositiveIsAvailable) { 34 packages += webpositive ; 35} 36 37HaikuRepository $(haikuRepository) : $(repoInfo) : $(packages:S=.hpkg) ; 38