diff options
author | kx <kx@radix.pro> | 2023-05-25 14:07:01 +0300 |
---|---|---|
committer | kx <kx@radix.pro> | 2023-05-25 14:07:01 +0300 |
commit | e0d5c2c4092e4cb8cb5a7435d2bd483be5897c2b (patch) | |
tree | 28082e1a3db94e37c99549e114f560dde0dd205a /GNOME | |
parent | d26f020ca0d2c95f5b78035eaeaa1cca1fc58d7c (diff) | |
download | sources-e0d5c2c4092e4cb8cb5a7435d2bd483be5897c2b.tar.xz |
hyphen; libmanette
Diffstat (limited to 'GNOME')
-rw-r--r-- | GNOME/core/Makefile | 1 | ||||
-rw-r--r-- | GNOME/core/libmanette/Makefile | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/GNOME/core/Makefile b/GNOME/core/Makefile index 251664a..72717c5 100644 --- a/GNOME/core/Makefile +++ b/GNOME/core/Makefile @@ -96,6 +96,7 @@ SUBDIRS := GConf \ libgudev \ libgweather \ libgxps \ + libmanette \ libmediaart \ libnma \ libnotify \ diff --git a/GNOME/core/libmanette/Makefile b/GNOME/core/libmanette/Makefile new file mode 100644 index 0000000..44d22db --- /dev/null +++ b/GNOME/core/libmanette/Makefile @@ -0,0 +1,50 @@ +# +# Project Home: +# ============ +# https://www.gnome.org +# +# Repository browse: https://git.gnome.org/browse/libgtop +# +# Downloads: +# ========= +# ftp://ftp.gnome.org/pub/GNOME/sources +# https://download.gnome.org/sources +# + + +url = https://download.gnome.org/sources + +versions = 0.2.6 + +pkg_name = libmanette +arch_type = tar.xz +suffixes = $(arch_type) + +files = $(foreach suffix, $(suffixes), $(addsuffix .$(suffix), $(addprefix $(pkg_name)-, $(versions)))) + +tarballs = $(addsuffix .$(arch_type), $(addprefix $(pkg_name)-, $(versions))) +sha1s = $(addsuffix .sha1sum, $(tarballs)) + + +all: $(files) $(sha1s) + + +.PHONY: downloads_clean + +$(files): + @echo -e "\n======= Downloading '$(pkg_name)' sourses =======\n" + @for version in $(versions) ; do \ + major_minor=`echo $$version | sed 's/\([0-9][.0-9][0-9]*\)\([\.].*\)/\1/'` ; \ + for suffix in $(suffixes) ; do \ + wget -N $(url)/$(pkg_name)/$$major_minor/$(pkg_name)-$$version.$$suffix ; \ + done ; \ + done + +$(sha1s): %.$(arch_type).sha1sum : %.$(arch_type) + @for tarball in $< ; do \ + echo -e "\n======= Calculation the '$$tarball' sha1sum =======\n" ; \ + sha1sum --binary $$tarball > $$tarball.sha1sum ; \ + done + +downloads_clean: + @rm -f $(files) $(sha1s) |