diff options
author | kx <kx@radix.pro> | 2023-05-18 03:11:50 +0300 |
---|---|---|
committer | kx <kx@radix.pro> | 2023-05-18 03:11:50 +0300 |
commit | d34f5535c20f6f3ca6fc0c4e7148f71dee8fadd8 (patch) | |
tree | 4ee0c9f24c5354550b06d808aa161d4de3cab823 | |
parent | 21c8faea1d22c1e993f60604c48e39e23097ca46 (diff) | |
download | sources-d34f5535c20f6f3ca6fc0c4e7148f71dee8fadd8.tar.xz |
libnice-0.1.21
-rw-r--r-- | packages/n/Makefile | 1 | ||||
-rw-r--r-- | packages/n/libnice/Makefile | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/packages/n/Makefile b/packages/n/Makefile index 2398340..57dcd83 100644 --- a/packages/n/Makefile +++ b/packages/n/Makefile @@ -76,6 +76,7 @@ SUBDIRS := ModemManager \ libnetfilter_queue \ libnfnetlink \ libnftnl \ + libnice \ libnl \ libnl3 \ libnsl \ diff --git a/packages/n/libnice/Makefile b/packages/n/libnice/Makefile new file mode 100644 index 0000000..29ffb8b --- /dev/null +++ b/packages/n/libnice/Makefile @@ -0,0 +1,39 @@ +# +# Project Home: +# ============ +# https://libnice.freedesktop.org +# +# Downloads: +# ========= +# https://libnice.freedesktop.org/releases +# + +url = https://libnice.freedesktop.org/releases + +versions = 0.1.21 + +pkgname = libnice +suffix = tar.gz + +tarballs = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions))) +sha1s = $(addsuffix .sha1sum, $(tarballs)) + + +all: $(tarballs) $(sha1s) + +.PHONY: downloads_clean + +$(tarballs): + @echo -e "\n======= Downloading source tarballs =======\n" + @for version in $(versions) ; do \ + wget -N $(url)/$(pkgname)-$$version.$(suffix) ; \ + done + +$(sha1s): %.$(suffix).sha1sum : %.$(suffix) + @for tarball in $< ; do \ + echo -e "\n======= Calculation the '$$tarball' sha1sum =======\n" ; \ + sha1sum --binary $$tarball > $$tarball.sha1sum ; \ + done + +downloads_clean: + @rm -rf $(tarballs) $(sha1s) |