232 kx
232 kx COMPONENT_TARGETS = $(HARDWARE_NOARCH)
232 kx
232 kx
232 kx include ../../../../build-system/constants.mk
232 kx
232 kx
232 kx url = $(DOWNLOAD_SERVER)/sources/packages/l/accountsservice
232 kx
232 kx versions = 23.13.9
232 kx pkgname = accountsservice
232 kx suffix = tar.xz
232 kx
232 kx tarballs = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
232 kx sha1s = $(addsuffix .sha1sum, $(tarballs))
232 kx
232 kx patches = $(CURDIR)/patches/accountsservice-23.13.9-cross-wtmp.patch
232 kx
232 kx .NOTPARALLEL: $(patches)
232 kx
232 kx
232 kx BUILD_TARGETS = $(tarballs) $(sha1s) $(patches)
232 kx
232 kx
232 kx include ../../../../build-system/core.mk
232 kx
232 kx
232 kx .PHONY: download_clean
232 kx
232 kx
232 kx $(tarballs):
232 kx @echo -e "\n======= Downloading source tarballs =======" ; \
232 kx for tarball in $(tarballs) ; do \
232 kx echo "$(url)/$$tarball" | xargs -n 1 -P 100 wget $(WGET_OPTIONS) - & \
232 kx done ; wait
232 kx
232 kx $(sha1s): $(tarballs)
232 kx @for sha in $@ ; do \
232 kx echo -e "\n======= Downloading '$$sha' signature =======\n" ; \
232 kx echo "$(url)/$$sha" | xargs -n 1 -P 100 wget $(WGET_OPTIONS) - & wait %1 ; \
232 kx touch $$sha ; \
232 kx echo -e "\n======= Check the '$$sha' sha1sum =======\n" ; \
232 kx sha1sum --check $$sha ; ret="$$?" ; \
232 kx if [ "$$ret" == "1" ]; then \
232 kx echo -e "\n======= ERROR: Bad '$$sha' sha1sum =======\n" ; \
232 kx exit 1 ; \
232 kx fi ; \
232 kx done
232 kx
232 kx $(patches): $(sha1s)
232 kx @echo -e "\n======= Create Patches =======\n" ; \
232 kx ( cd create-23.13.9-cross-wtmp-patch ; ./create.patch.sh ) ; \
232 kx echo -e "\n"
232 kx
232 kx download_clean:
232 kx @rm -f $(tarballs) $(sha1s) $(patches)