RepositoryRules: RepositoryConfig does not need/use URL now.
[haiku.git] / build / jam / repositories / Haiku
blob14f5ebeaf7b028e46d6bad5326a4fd04052caec1
1 # Builds the Haiku packages repository.
3 local haikuRepository = <repository>Haiku ;
4 MakeLocate $(haikuRepository)
5         : $(HAIKU_PACKAGE_REPOSITORIES_DIR_$(HAIKU_PACKAGING_ARCH)) ;
7 local repoInfo = <repository-info-template>haiku ;
8 SEARCH on $(repoInfo) = $(HAIKU_TOP)/src/data/repository_infos ;
10 local secondaryArchs = $(TARGET_PACKAGING_ARCHS[2-]) ;
11 local packages = [ FFilterByBuildFeatures
12         haiku
13         haiku_devel
14         haiku_loader
15         haiku_userguide_ca
16         haiku_userguide_de
17         haiku_userguide_en
18         haiku_userguide_es
19         haiku_userguide_fi
20         haiku_userguide_fr
21         haiku_userguide_hu
22         haiku_userguide_it
23         haiku_userguide_jp
24         haiku_userguide_pl
25         haiku_userguide_pt_BR
26         haiku_userguide_pt_PT
27         haiku_userguide_ru
28         haiku_userguide_sk
29         haiku_userguide_sv_SE
30         haiku_userguide_uk
31         haiku_userguide_zh_CN
32         haiku_welcome
33         makefile_engine
34         netfs@!x86_64
35         userland_fs
37         haiku_$(secondaryArchs)
38         haiku_$(secondaryArchs)_devel
39         ] ;
41 local webPositiveIsAvailable ;
42 local architectureObject ;
43 for architectureObject in [ MultiArchSubDirSetup ] {
44         on $(architectureObject) {
45                 if [ FIsBuildFeatureEnabled webpositive ] {
46                         webPositiveIsAvailable = true ;
47                         break ;
48                 }
49         }
51 if $(webPositiveIsAvailable) {
52         packages += webpositive ;
55 HaikuRepository $(haikuRepository) : $(repoInfo) : $(packages:S=.hpkg) ;