Hitchhiker Linux source tree
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

615 lines
16 KiB

# Makefile - hhl - /usr/src/distfiles
# Copyright 2020 Nathan Fisher <nfisher.sr@gmail.com>
#
include versions.mk
gnu = https://ftp.gnu.org/gnu
savannah = https://download.savannah.gnu.org/releases
github = https://github.com
sourceforge = https://downloads.sourceforge.net/project
kernel = https://www.kernel.org/pub/linux
skarnet = https://skarnet.org/software
distfiles = \
acl-${acl_version}.tar.gz \
$(argp-standalone_version).tar.gz \
attr-${attr_version}.tar.gz \
autoconf-${autoconf_version}.tar.xz \
automake-${automake_version}.tar.xz \
bc-${bc_version}.tar.xz \
binutils-${binutils_version}.tar.xz \
bison-${bison_version}.tar.xz \
busybox-${busybox_version}.tar.bz2 \
bzip2-${bzip2_version}.tar.gz \
cmake-$(cmake_version).tar.gz \
coreutils-${coreutils_version}.tar.xz \
dash-${dash_version}.tar.gz \
dbus-${dbus_version}.tar.gz \
diffutils-${diffutils_version}.tar.xz \
dhcpcd-${dhcpcd_version}.tar.xz \
e2fsprogs-${e2fsprogs_version}.tar.gz \
elfutils-${elfutils_version}.tar.bz2 \
eudev-${eudev_version}.tar.gz \
execline-${execline_version}.tar.gz \
expat-${expat_version}.tar.xz \
file-${file_version}.tar.gz \
findutils-${findutils_version}.tar.xz \
flex-${flex_version}.tar.gz \
gawk-${gawk_version}.tar.xz \
gcc-${gcc_version}.tar.xz \
gdbm-${gdbm_version}.tar.gz \
gettext-${gettext_version}.tar.xz \
gettext-tiny-${gettext-tiny_version}.tar.xz \
glibc-${glibc_version}.tar.xz \
gmp-${gmp_version}.tar.xz \
gperf-${gperf_version}.tar.gz \
grep-${grep_version}.tar.xz \
groff-${groff_version}.tar.gz \
grub-${grub_version}.tar.xz \
gzip-${gzip_version}.tar.xz \
iana-etc-${iana-etc_version}.tar.bz2 \
inetutils-${inetutils_version}.tar.xz \
intltool-${intltool_version}.tar.gz \
iproute2-${iproute2_version}.tar.xz \
kbd-${kbd_version}.tar.xz \
kmod-${kmod_version}.tar.xz \
less-${less_version}.tar.gz \
libcap-${libcap_version}.tar.xz \
libedit-20191231-3.1.tar.gz \
libelf-compat-${libelf-compat_version}.tar.xz \
libffi-${libffi_version}.tar.gz \
libnl-${libnl_version}.tar.gz \
libressl-${libressl_version}.tar.gz \
libtool-${libtool_version}.tar.xz \
libz-${libz_version}.tar.gz \
linux-${linux_version}.tar.xz \
linux-firmware-$(linux-firmware_version).tar.xz \
m4-${m4_version}.tar.xz \
make-${make_version}.tar.gz \
mandoc-${mandoc_version}.tar.gz \
man-pages-${man-pages_version}.tar.xz \
meson-${meson_version}.tar.gz \
mpc-${mpc_version}.tar.gz \
mpfr-${mpfr_version}.tar.xz \
musl-$(musl_version).tar.gz \
musl-fts-$(musl-fts_version).tar.gz \
openssl-${openssl_version}.tar.gz \
ncurses-${ncurses_version}.tar.gz \
netbsd-curses-${netbsd-curses_version}.tar.xz \
ninja-${ninja_version}.tar.gz \
patch-${patch_version}.tar.xz \
pcre-${pcre_version}.tar.bz2 \
perl-${perl_version}.tar.xz \
perl-cross-$(per-cross_version).tar.gz \
pkg-config-${pkg-config_version}.tar.gz \
pkgsrc-${pkgsrc_version}.tar.xz \
procps-ng-${procps-ng_version}.tar.xz \
psmisc-${psmisc_version}.tar.xz \
Python-${python_version}.tar.xz \
python-${python_version}-docs-html.tar.bz2 \
s6-${s6_version}.tar.gz \
s6-linux-init-${s6-linux-init_version}.tar.gz \
sed-${sed_version}.tar.xz \
shadow-${shadow_version}.tar.xz \
skalibs-${skalibs_version}.tar.gz \
sysklogd-${sysklogd_version}.tar.gz \
tar-${tar_version}.tar.xz \
texinfo-${texinfo_version}.tar.xz \
tzdata${tzdata_version}.tar.gz \
u-boot-$(u-boot_version).tar.bz2 \
udev-lfs-${udev-lfs_version}.tar.xz \
util-linux-${util-linux_version}.tar.xz \
v1.9.14.tar.gz \
vim-${vim_version}.tar.gz \
wget-${wget_version}.tar.gz \
wireless-tools/wireless_tools.${wireless_tools_version}.tar.gz \
wpa_supplicant-${wpa_supplicant_version}.tar.gz \
XML-Parser-${XML-Parser_version}.tar.gz \
xz-${xz_version}.tar.xz \
zsh-${zsh_version}.tar.xz \
zstd-${zstd_version}.tar.gz
all: ${distfiles}
acl: acl-${acl_version}.tar.gz
acl-${acl_version}.tar.gz:
wget -c ${savannah}/acl/$@
argp-standalone: $(argp-standalone_version).tar.gz
$(argp-standalone_version).tar.gz:
wget -c $(github)/ericonr/argp-standalone/archive/$@
attr: attr-${attr_version}.tar.gz
attr-${attr_version}.tar.gz:
wget -c ${savannah}/attr/$@
autoconf: autoconf-${autoconf_version}.tar.xz
autoconf-${autoconf_version}.tar.xz:
wget -c ${gnu}/autoconf/$@
automake: automake-${automake_version}.tar.xz
automake-${automake_version}.tar.xz:
wget -c ${gnu}/automake/$@
bc: bc-${bc_version}.tar.xz
bc-${bc_version}.tar.xz:
wget -c ${github}/gavinhoward/bc/releases/download/${bc_version}/$@
binutils: binutils-${binutils_version}.tar.xz
binutils-${binutils_version}.tar.xz:
wget -c ${gnu}/binutils/$@
bison: bison-${bison_version}.tar.xz
bison-${bison_version}.tar.xz:
wget -c ${gnu}/bison/$@
busybox: busybox-${busybox_version}.tar.bz2
busybox-${busybox_version}.tar.bz2:
wget -c https://busybox.net/downloads/$@
bzip2: bzip2-${bzip2_version}.tar.gz
bzip2-${bzip2_version}.tar.gz:
wget -c https://www.sourceware.org/pub/bzip2/$@
cmake: cmake-$(cmake_version).tar.gz
cmake-$(cmake_version).tar.gz:
wget -c https://cmake.org/files/v3.18/$@
coreutils: coreutils-${coreutils_version}.tar.xz
coreutils-${coreutils_version}.tar.xz:
wget -c ${gnu}/coreutils/$@
dash: dash-${dash_version}.tar.gz
dash-${dash_version}.tar.gz:
wget -c https://git.kernel.org/pub/scm/utils/dash/dash.git/snapshot/$@
dbus: dbus-${dbus_version}.tar.gz
dbus-${dbus_version}.tar.gz:
wget -c https://dbus.freedesktop.org/releases/dbus/$@
diffutils: diffutils-${diffutils_version}.tar.xz
diffutils-${diffutils_version}.tar.xz:
wget -c ${gnu}/diffutils/$@
dhcpcd: dhcpcd-${dhcpcd_version}.tar.xz
dhcpcd-${dhcpcd_version}.tar.xz:
wget -c https://roy.marples.name/downloads/dhcpcd/$@
e2fsprogs: e2fsprogs-$(e2fsprogs_version).tar.xz
e2fsprogs-$(e2fsprogs_version).tar.xz:
wget -c $(kernel)/kernel/people/tytso/e2fsprogs/v$(e2fsprogs_version)/$@
elfutils: elfutils-${elfutils_version}.tar.bz2
elfutils-${elfutils_version}.tar.bz2:
wget -c https://sourceware.org/ftp/elfutils/${elfutils_version}/$@
eudev: eudev-${eudev_version}.tar.gz
eudev-${eudev_version}.tar.gz:
wget -c $(github)/eudev-project/eudev/releases/download/v$(eudev_version)/$@
execline: execline-{execline_version}.tar.gz
execline-${execline_version}.tar.gz:
wget -c ${skarnet}/execline/$@
expat: expat-${expat_version}.tar.xz
expat-${expat_version}.tar.xz:
wget -c $(github)/libexpat/libexpat/releases/download/R_2_4_8/$@
file: file-${file_version}.tar.gz
file-${file_version}.tar.gz:
wget -c ftp://ftp.astron.com/pub/file/$@
findutils: findutils-${findutils_version}.tar.xz
findutils-${findutils_version}.tar.xz:
wget -c ${gnu}/findutils/$@
flex: flex-${flex_version}.tar.gz
flex-${flex_version}.tar.gz:
wget -c ${github}/westes/flex/releases/download/v${flex_version}/$@
gawk: gawk-${gawk_version}.tar.xz
gawk-${gawk_version}.tar.xz:
wget -c ${gnu}/gawk/$@
gcc: gcc-${gcc_version}.tar.xz
gcc-${gcc_version}.tar.xz:
wget -c ${gnu}/gcc/gcc-${gcc_version}/$@
gdbm: gdbm-${gdbm_version}.tar.gz
gdbm-${gdbm_version}.tar.gz:
wget -c ${gnu}/gdbm/$@
gettext: gettext-${gettext_version}.tar.xz
gettext-${gettext_version}.tar.xz:
wget -c ${gnu}/gettext/$@
gettext-tiny: gettext-tiny-${gettext-tiny_version}.tar.xz
gettext-tiny-${gettext-tiny_version}.tar.xz:
wget -c http://ftp.barfooze.de/pub/sabotage/tarballs/$@
glibc: glibc-${glibc_version}.tar.xz
glibc-${glibc_version}.tar.xz:
wget -c ${gnu}/glibc/$@
gmp: gmp-${gmp_version}.tar.xz
gmp-${gmp_version}.tar.xz:
wget -c ${gnu}/gmp/$@
gperf: gperf-${gperf_version}.tar.gz
gperf-${gperf_version}.tar.gz:
wget -c ${gnu}/gperf/$@
grep: grep-${grep_version}.tar.xz
grep-${grep_version}.tar.xz:
wget -c ${gnu}/grep/$@
groff: groff-${groff_version}.tar.gz
groff-${groff_version}.tar.gz:
wget -c ${gnu}/groff/$@
grub: grub-${grub_version}.tar.xz
grub-${grub_version}.tar.xz:
wget -c ${gnu}/grub/$@
gzip: gzip-${gzip_version}.tar.xz
gzip-${gzip_version}.tar.xz:
wget -c ${gnu}/gzip/$@
haveged: v1.9.14.tar.gz
v1.9.14.tar.gz:
wget -c $(github)/jirka-h/haveged/archive/$@
iana-etc: iana-etc-${iana-etc_version}.tar.gz
iana-etc-${iana-etc_version}.tar.gz:
wget -c $(github)/Mic92/iana-etc/releases/download/$(iana-etc_version)/$@
inetutils: inetutils-${inetutils_version}.tar.xz
inetutils-${inetutils_version}.tar.xz:
wget -c ${gnu}/inetutils/$@
intltool: intltool-${intltool_version}.tar.gz
intltool-${intltool_version}.tar.gz:
wget -c https://launchpad.net/intltool/trunk/${intltool_version}/+download/$@
iproute2: iproute2-${iproute2_version}.tar.xz
iproute2-${iproute2_version}.tar.xz:
wget -c ${kernel}/utils/net/iproute2/$@
kbd: kbd-${kbd_version}.tar.xz
kbd-${kbd_version}.tar.xz:
wget -c ${kernel}/utils/kbd/$@
kmod: kmod-${kmod_version}.tar.xz
kmod-${kmod_version}.tar.xz:
wget -c ${kernel}/utils/kernel/kmod/$@
less: less-${less_version}.tar.gz
less-${less_version}.tar.gz:
wget -c http://www.greenwoodsoftware.com/less/$@
libcap: libcap-${libcap_version}.tar.xz
libcap-${libcap_version}.tar.xz:
wget -c ${kernel}/libs/security/linux-privs/libcap2/$@
libedit: libedit-${libedit_version}.tar.gz
libedit-${libedit_version}.tar.gz:
wget -c https://www.thrysoee.dk/editline/$@
libelf-compat: libelf-compat-${libelf-compat_version}.tar.xz
libelf-compat-${libelf-compat_version}.tar.xz:
wget -c https://hitchhiker-linux.org/pub/src/external/$@
libffi: libffi-${libffi_version}.tar.gz
libffi-${libffi_version}.tar.gz:
wget -c $(github)/libffi/libffi/releases/download/v$(libffi_version)/$@
libnl: libnl-${libnl_version}.tar.gz
libnl-${libnl_version}.tar.gz:
wget -c ${github}/thom311/libnl/releases/download/libnl3_5_0/$@
libressl: libressl-${libressl_version}.tar.gz
libressl-${libressl_version}.tar.gz:
wget -c https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/$@
libtool: libtool-${libtool_version}.tar.xz
libtool-${libtool_version}.tar.xz:
wget -c ${gnu}/libtool/$@
libz: libz-${libz_version}.tar.gz
libz-${libz_version}.tar.gz:
wget -c https://sortix.org/libz/release/$@
linux: linux-${linux_version}.tar.xz
linux-${linux_version}.tar.xz:
wget -c ${kernel}/kernel/v5.x/$@
linux-firmware: linux-formware-$(linux-firmware_version).tar.xz
linux-firmware-$(linux-firmware_version).tar.xz:
wget -c https://mirrors.edge.kernel.org/pub/linux/kernel/firmware/$@
linux_rpi: linux_rpi-${linux_rpi_version}.tar.xz
linux_rpi-${linux_rpi_version}.tar.xz:
wget -c http://hitchhiker-linux.org/pub/src/external/$@
m4: m4-${m4_version}.tar.xz
m4-${m4_version}.tar.xz:
wget -c ${gnu}/m4/$@
make: make-${make_version}.tar.gz
make-${make_version}.tar.gz:
wget -c ${gnu}/make/$@
man-pages: man-pages-${man-pages_version}.tar.xz
man-pages-${man-pages_version}.tar.xz:
wget -c ${kernel}/docs/man-pages/$@
mandoc: mandoc-${mandoc_version}.tar.gz
mandoc-${mandoc_version}.tar.gz:
wget -c https://mandoc.bsd.lv/snapshots/$@
meson: meson-${meson_version}.tar.gz
meson-${meson_version}.tar.gz:
wget -c ${github}/mesonbuild/meson/releases/download/${meson_version}/$@
mpc: mpc-${mpc_version}.tar.gz
mpc-${mpc_version}.tar.gz:
wget -c ${gnu}/mpc/$@
mpfr: mpfr-${mpfr_version}.tar.xz
mpfr-${mpfr_version}.tar.xz:
wget -c http://www.mpfr.org/mpfr-${mpfr_version}/$@
musl: musl-$(musl_version).tar.gz
musl-$(musl_version).tar.gz:
wget -c http://musl.libc.org/releases/$@
musl-fts: musl-fts-$(musl-fts_version).tar.gz
musl-fts-$(musl-fts_version).tar.gz:
wget -c $(github)/void-linux/musl-fts/archive/v$(musl-fts_version).tar.gz \
-O $@
ncurses: ncurses-${ncurses_version}.tar.gz
ncurses-${ncurses_version}.tar.gz:
wget -c ${gnu}/ncurses/$@
netbsd-curses: netbsd-curses-${netbsd-curses_version}.tar.xz
netbsd-curses-${netbsd-curses_version}.tar.xz:
wget -c http://ftp.barfooze.de/pub/sabotage/tarballs/$@
ninja: ninja-${ninja_version}.tar.gz
ninja-${ninja_version}.tar.gz:
wget -c ${github}/ninja-build/ninja/archive/v${ninja_version}/$@
openssl: openssl-${openssl_version}.tar.gz
openssl-${openssl_version}.tar.gz:
wget -c https://www.openssl.org/source/$@
patch: patch-${patch_version}.tar.xz
patch-${patch_version}.tar.xz:
wget -c ${gnu}/patch/$@
pcre: pcre-${pcre_version}.tar.bz2
pcre-${pcre_version}.tar.bz2:
wget -c https://ftp.pcre.org/pub/pcre/$@
perl: perl-${perl_version}.tar.xz
perl-${perl_version}.tar.xz:
wget -c https://www.cpan.org/src/5.0/$@
perl-cross: perl-cross-$(perl-cross_version).tar.gz
perl-cross-$(perl-cross_version).tar.gz:
wget -c $(github)/arsv/perl-cross/releases/download/$(perl-cross_version)/$@
pkg-config: pkg-config-${pkg-config_version}.tar.gz
pkg-config-${pkg-config_version}.tar.gz:
wget -c https://pkg-config.freedesktop.org/releases/$@
pkgsrc: pkgsrc-${pkgsrc_version}.tar.xz
pkgsrc-${pkgsrc_version}.tar.xz:
wget -c http://cdn.netbsd.org/pub/pkgsrc/pkgsrc-${pkgsrc_version}/$@
procps-ng: procps-ng-${procps-ng_version}.tar.xz
procps-ng-${procps-ng_version}.tar.xz:
wget -c https://sourceforge.net/projects/procps-ng/files/Production/$@
psmisc: psmisc-${psmisc_version}.tar.xz
psmisc-${psmisc_version}.tar.xz:
wget -c https://sourceforge.net/projects/psmisc/files/psmisc/$@
python: Python-${python_version}.tar.xz
Python-${python_version}.tar.xz:
wget -c https://www.python.org/ftp/python/${python_version}/$@
python-docs: python-${python_version}-docs-html.tar.bz2
python-${python_version}-docs-html.tar.bz2:
wget -c https://www.python.org/ftp/python/doc/${python_version}/$@
s6: s6-${s6_version}.tar.gz
s6-${s6_version}.tar.gz:
wget -c ${skarnet}/s6/$@
s6-linux-init: s6-linux-init-${s6-linux-init_version}.tar.gz
s6-linux-init-${s6-linux-init_version}.tar.gz:
wget -c ${skarnet}/s6-linux-init/$@
s6-rc: s6-rc-${s6-rc_version}.tar.gz
s6-rc-${s6-rc_version}.tar.gz:
wget -c ${skarnet}/s6-rc/$@
sed: sed-${sed_version}.tar.xz
sed-${sed_version}.tar.xz:
wget -c ${gnu}/sed/$@
shadow: shadow-${shadow_version}.tar.xz
shadow-${shadow_version}.tar.xz:
wget -c ${github}/shadow-maint/shadow/releases/download/${shadow_version}/$@
skalibs: skalibs-${skalibs_version}.tar.gz
skalibs-${skalibs_version}.tar.gz:
wget -c ${skarnet}/skalibs/$@
sysklogd: sysklogd-${sysklogd_version}.tar.gz
sysklogd-${sysklogd_version}.tar.gz:
wget -c http://www.infodrom.org/projects/sysklogd/download/$@
tar: tar-${tar_version}.tar.xz
tar-${tar_version}.tar.xz:
wget -c ${gnu}/tar/$@
texinfo: texinfo-${texinfo_version}.tar.xz
texinfo-${texinfo_version}.tar.xz:
wget -c ${gnu}/texinfo/$@
tzdata: tzdata${tzdata_version}.tar.gz
tzdata${tzdata_version}.tar.gz:
wget -c https://www.iana.org/time-zones/repository/releases/$@
u-boot: u-boot-$(u-boot_version).tar.bz2
u-boot-$(u-boot_version).tar.bz2:
wget -c ftp://ftp.denx.de/pub/u-boot/$@
udev-lfs: udev-lfs-${udev-lfs_version}.tar.xz
udev-lfs-${udev-lfs_version}.tar.xz:
wget -c http://anduin.linuxfromscratch.org/LFS/$@
util-linux: util-linux-${util-linux_version}.tar.xz
util-linux-${util-linux_version}.tar.xz:
wget -c ${kernel}/utils/util-linux/v2.36/$@
vim: vim-${vim_version}.tar.gz
vim-${vim_version}.tar.gz:
wget -c http://anduin.linuxfromscratch.org/LFS/$@
wget: wget-${wget_version}.tar.gz
wget-${wget_version}.tar.gz:
wget -c ${gnu}/wget/$@
wireless_tools: wireless_tools.${wireless_tools_version}.tar.gz
wireless_tools.${wireless_tools_version}.tar.gz:
wget -c https://hewlettpackard.github.io/wireless-tools/$@
wpa_supplicant: wpa_supplicant-${wpa_supplicant_version}.tar.gz
wpa_supplicant-${wpa_supplicant_version}.tar.gz:
wget -c https://w1.fi/releases/$@
XML-Parser: XML-Parser-${XML-Parser_version}.tar.gz
XML-Parser-${XML-Parser_version}.tar.gz:
wget -c https://cpan.metacpan.org/authors/id/T/TO/TODDR/$@
xz: xz-${xz_version}.tar.xz
xz-${xz_version}.tar.xz:
wget -c http://tukaani.org/xz/$@
zsh: zsh-${zsh_version}.tar.xz
zsh-${zsh_version}.tar.xz:
wget -c http://www.zsh.org/pub/$@
zsh-doc: zsh-${zsh_version}-doc.tar.xz
zsh-${zsh_version}-doc.tar.xz:
wget -c https://www.zsh.org/pub/$@
zstd: zstd-${zstd_version}.tar.gz
zstd-${zstd_version}.tar.gz:
wget -c ${github}/facebook/zstd/releases/download/v${zstd_version}/$@
.PHONY: all