smlinux/net/wget/wget.SMBuild
2022-02-13 15:56:03 +05:30

36 lines
783 B
Text
Executable file

app=wget
version=1.19
build=1sml
homepage="https://www.gnu.org/software/wget/"
download="https://ftp.gnu.org/gnu/wget/wget-1.19.tar.gz"
desc="Non-interactive network resource retriever"
requires="zlib netbsd-curses openssl e2fsprogs pcre"
build() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
./configure \
--prefix="" \
--sysconfdir=/etc \
--with-ssl=openssl \
--disable-nls \
--disable-rpath
make
make install DESTDIR=$pkg
mv $pkg/etc/wgetrc $pkg/etc/wgetrc.new
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
2ea62e217fe6c9e1ade21fb5d4a797dfdc41f87998a713e9760a56beb000d490a73154bc5f61076ff5c8dfc08beb6c1d372a3ccec856561c4f6de9d965519701 wget-1.19.tar.lz
"