PaganOS Luna 0.6.0
PL EN DE
🔒 Repository is read-only – file editing is disabled.

recipes/core/wget/PAGBUILD.yaml main

41 lines Raw ← Back
1234567891011121314151617181920212223242526272829303132333435363738394041
pkgname: wget
pkgver: '1.25.0'
pkgrel: '4'
pkgdesc: 'Utility for non-interactive download of files using HTTP, HTTPS and FTP.'
url: 'http://www.gnu.org/software/wget/'
arch: x86_64
depends:
- libpsl
- libidn2
- libunistring
- openssl
- pcre2
- util-linux
makedepends:
- perl
- libpsl
- libidn2

source:
- 'https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz'

sha256sums:
- 766e48423e79359ea31e41db9e5c289675947a7fcf2efdcedb726ac9d0da3784

build: |
  cd ${pkgname}-${pkgver}
  NEW_LINE='#if !defined OPENSSL_NO_SSL3_METHOD '
  NEW_LINE+='&& OPENSSL_VERSION_NUMBER < 0x40000000L'
  sed -i "/SSL3/c $NEW_LINE" src/openssl.c
  unset NEW_LINE
  ./configure --prefix=/usr \
  --sysconfdir=/etc \
  --with-ssl=openssl \
  --disable-debug \
  --mandir=/usr/share/man \
  --infodir=/usr/share/info
  make
  make DESTDIR=${PKGDIR} install

package: |
  true