smlinux/net/wget/smbuild

38 lines
831 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=wget
version=1.19
build=2sml
homepage="https://www.gnu.org/software/wget/"
download="https://ftp.gnu.org/gnu/wget/wget-$version.tar.gz"
desc="Non-interactive network resource retriever"
requires="zlib netbsd-curses openssl e2fsprogs pcre"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--with-ssl=openssl \
--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
"