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