38 lines
No EOL
834 B
Bash
38 lines
No EOL
834 B
Bash
# Maintainer: PktSurf <smlinux@pktsurf.in>
|
|
app=wget
|
|
version=1.24.5
|
|
build=1sml
|
|
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="
|
|
d8972e94d9125133d115750542e0f126b85a311634d5563a69d8fe85ecf1200836dcc83528ee4285d56834c58c722be580bfe749b26436158fbe4afc566f5cc0 wget-1.24.5.tar.lz
|
|
" |