diff options
author | kx <kx@radix.pro> | 2024-01-10 22:47:30 +0300 |
---|---|---|
committer | kx <kx@radix.pro> | 2024-01-10 22:47:30 +0300 |
commit | eeffb0c8292aba8bc5bdab395340e9b9343ab69a (patch) | |
tree | 4ed9f59f6c2cd7873ab8969dea499edd41326c53 /packages | |
parent | e5e57eb92111b616b48410e71b091eeb8df79c88 (diff) | |
download | sources-eeffb0c8292aba8bc5bdab395340e9b9343ab69a.tar.xz |
perl-modules: Alien::Base::Wrapper, Alien::Libxml2
Diffstat (limited to 'packages')
-rw-r--r-- | packages/d/perl-modules/CPAN/Alien-Build/Makefile | 43 | ||||
-rw-r--r-- | packages/d/perl-modules/CPAN/Alien-Libxml2/Makefile | 43 | ||||
-rw-r--r-- | packages/d/perl-modules/CPAN/Makefile | 4 |
3 files changed, 89 insertions, 1 deletions
diff --git a/packages/d/perl-modules/CPAN/Alien-Build/Makefile b/packages/d/perl-modules/CPAN/Alien-Build/Makefile new file mode 100644 index 0000000..b50b936 --- /dev/null +++ b/packages/d/perl-modules/CPAN/Alien-Build/Makefile @@ -0,0 +1,43 @@ +# +# Project Home: +# ============ +# http://www.cpan.org/modules/index.html +# +# Install instruction: +# =================== +# http://www.cpan.org/modules/INSTALL.html +# +# Search CPAN: +# =========== +# https://metacpan.org +# http://search.cpan.org +# + +url = https://ftp.radix.pro/3pp/perl-modules/CPAN/Alien-Build + +versions = 2.80 +pkgname = Alien-Build +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 tarball in $(tarballs) ; do \ + wget -N $(url)/$$tarball ; \ + 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) diff --git a/packages/d/perl-modules/CPAN/Alien-Libxml2/Makefile b/packages/d/perl-modules/CPAN/Alien-Libxml2/Makefile new file mode 100644 index 0000000..0dd4ada --- /dev/null +++ b/packages/d/perl-modules/CPAN/Alien-Libxml2/Makefile @@ -0,0 +1,43 @@ +# +# Project Home: +# ============ +# http://www.cpan.org/modules/index.html +# +# Install instruction: +# =================== +# http://www.cpan.org/modules/INSTALL.html +# +# Search CPAN: +# =========== +# https://metacpan.org +# http://search.cpan.org +# + +url = https://ftp.radix.pro/3pp/perl-modules/CPAN/Alien-Libxml2 + +versions = 0.19 +pkgname = Alien-Libxml2 +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 tarball in $(tarballs) ; do \ + wget -N $(url)/$$tarball ; \ + 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) diff --git a/packages/d/perl-modules/CPAN/Makefile b/packages/d/perl-modules/CPAN/Makefile index 4881705..ae5126f 100644 --- a/packages/d/perl-modules/CPAN/Makefile +++ b/packages/d/perl-modules/CPAN/Makefile @@ -4,7 +4,9 @@ # $ tree -fid . # -SUBDIRS := B-C \ +SUBDIRS := Alien-Build \ + Alien-Libxml2 \ + B-C \ Clone \ DBD-Pg \ DBD-mysql \ |