smlinux/net/wget/wget.SMBuild
PktSurf 03da9ec93f Discarded '--disable-nls' and similar build options in several build files to allow building of translation files
Added '--docdir' build option to extra/xarchiver, gtk/libcanberra, net/{tor,x2x} build files
Updated net/cgit tarball checksum
Switched to cmake build system in net/weechat
Discarded 'v' verbosity argument used for extracting net/x2x tarball and its doinst.sh
Fixed hardcoded doc directory name in xorg/jasper
2023-04-01 10:28:44 +05:30

37 lines
786 B
Text
Executable file

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="" \
--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
"