2013-11-23 04:46:04 +04:00
|
|
|
# Builds the Haiku packages repository.
|
|
|
|
|
2014-08-15 16:44:05 +04:00
|
|
|
local haikuRepository = <repository>Haiku ;
|
2013-11-23 04:46:04 +04:00
|
|
|
MakeLocate $(haikuRepository)
|
|
|
|
: $(HAIKU_PACKAGE_REPOSITORIES_DIR_$(HAIKU_PACKAGING_ARCH)) ;
|
|
|
|
|
2014-01-19 02:25:49 +04:00
|
|
|
local repoInfo = <repository-info-template>haiku ;
|
2013-11-23 04:46:04 +04:00
|
|
|
SEARCH on $(repoInfo) = $(HAIKU_TOP)/src/data/repository_infos ;
|
|
|
|
|
|
|
|
local secondaryArchs = $(TARGET_PACKAGING_ARCHS[2-]) ;
|
2014-11-20 18:02:37 +03:00
|
|
|
local packages = [ FFilterByBuildFeatures
|
2013-11-23 04:46:04 +04:00
|
|
|
haiku
|
|
|
|
haiku_devel
|
|
|
|
haiku_loader
|
|
|
|
haiku_userguide
|
|
|
|
haiku_welcome
|
|
|
|
makefile_engine
|
2014-11-20 18:02:37 +03:00
|
|
|
netfs@!x86_64
|
2015-03-29 17:09:34 +03:00
|
|
|
userland_fs
|
2013-11-23 04:46:04 +04:00
|
|
|
|
|
|
|
haiku_$(secondaryArchs)
|
|
|
|
haiku_$(secondaryArchs)_devel
|
2014-11-20 18:02:37 +03:00
|
|
|
] ;
|
2013-11-23 04:46:04 +04:00
|
|
|
|
2014-08-25 22:49:03 +04:00
|
|
|
local webPositiveIsAvailable ;
|
|
|
|
local architectureObject ;
|
|
|
|
for architectureObject in [ MultiArchSubDirSetup ] {
|
|
|
|
on $(architectureObject) {
|
|
|
|
if [ FIsBuildFeatureEnabled webpositive ] {
|
|
|
|
webPositiveIsAvailable = true ;
|
|
|
|
break ;
|
|
|
|
}
|
2014-08-11 22:56:11 +04:00
|
|
|
}
|
2013-12-01 04:10:15 +04:00
|
|
|
}
|
2014-08-25 22:49:03 +04:00
|
|
|
if $(webPositiveIsAvailable) {
|
|
|
|
packages += webpositive ;
|
|
|
|
}
|
2013-12-01 04:10:15 +04:00
|
|
|
|
2014-07-26 02:35:53 +04:00
|
|
|
HaikuRepository $(haikuRepository) : $(repoInfo) : $(packages:S=.hpkg) ;
|