diff options
author | kx <kx@radix.pro> | 2023-04-11 06:54:40 +0300 |
---|---|---|
committer | kx <kx@radix.pro> | 2023-04-11 06:54:40 +0300 |
commit | 19dc4c5d37a41a6fa8b1076b568191d0b61389c2 (patch) | |
tree | 858ac8f02295148d7fa50a031171badc550bad32 /packages/a/eject | |
parent | 616e36d9e9e3e56af1ea2db055012b77863d09e6 (diff) | |
download | sources-19dc4c5d37a41a6fa8b1076b568191d0b61389c2.tar.xz |
applications
Diffstat (limited to 'packages/a/eject')
-rw-r--r-- | packages/a/eject/Makefile | 43 | ||||
-rw-r--r-- | packages/a/eject/README.TXT | 8 |
2 files changed, 51 insertions, 0 deletions
diff --git a/packages/a/eject/Makefile b/packages/a/eject/Makefile new file mode 100644 index 0000000..b0c8112 --- /dev/null +++ b/packages/a/eject/Makefile @@ -0,0 +1,43 @@ +# +# Project Home: +# ============ +# https://slackware.com +# +# Downloads: +# ========= +# https://mirrors.slackware.com/slackware/slackware-14.1/source/a/eject +# + +url = https://mirrors.slackware.com/slackware/slackware-14.1/source/a/eject + +version = 2.1.5 + +pkgname = eject +suffix = tar.bz2 + +tarball = $(addsuffix .$(suffix), $(addprefix $(pkgname)-,$(version))) +sha1s = $(addsuffix .sha1sum, $(tarball)) + + +all: $(tarball) $(sha1s) + +.PHONY: downloads_clean + + +$(tarball): + @echo -e "\n======= Downloading source tarball =======\n" + @wget -N $(url)/$(tarball) + @tar xjf $(tarball) + @mv $(pkgname) $(pkgname)-$(version) + @rm -f $(tarball) + @tar cjf $(tarball) $(pkgname)-$(version) + @rm -rf $(pkgname)-$(version) + +$(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 $(tarball) $(sha1s) diff --git a/packages/a/eject/README.TXT b/packages/a/eject/README.TXT new file mode 100644 index 0000000..54ae345 --- /dev/null +++ b/packages/a/eject/README.TXT @@ -0,0 +1,8 @@ + +/* + eject [https://eject.sourceforge.net]: + ------------------------------------ + + Original package is lost forever, a copy exists only in slackware sources. + + */ |