31 lines
1.0 KiB
Bash
31 lines
1.0 KiB
Bash
#!/bin/sh
|
|
# broken
|
|
name="wget"
|
|
short_desc="GNU wget tool"
|
|
desc="GNU Wget is a free software package for retrieving files using HTTP, HTTPS,
|
|
FTP and FTPS, the most widely used Internet protocols.
|
|
|
|
It is a non-interactive commandline tool, so it may easily be called from scripts,
|
|
cron jobs, terminals without X-Windows support, etc. "
|
|
category="ftp"
|
|
version="1.21.4"
|
|
maintainer="ffqq@danwin1210.de"
|
|
www="https://www.gnu.org/software/wget/"
|
|
master_site="ftp://ftp.gnu.org/gnu/wget"
|
|
source_name="$name-$version.tar.gz"
|
|
license_logic="single" # accepted values: single, and, or
|
|
licenses=("GPLv3+")
|
|
|
|
build_dependencies=("devel/gmake" "devel/pkgconf" "lang/gcc" "security/openssl")
|
|
run_dependencies=("system/glibc")
|
|
|
|
build_process() {
|
|
cd $name-$version || exit 1
|
|
./configure --prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--enable-shared \
|
|
--with-ssl=openssl || exit 1
|
|
make -j$(nproc) || exit 1
|
|
make DESTDIR="$TAMANDUA_STAGE_DIR" install || exit 1
|
|
rm -r $TAMANDUA_STAGE_DIR/usr/share/info
|
|
} |