axel: update to 2.5
This commit is contained in:
parent
6a3cae033d
commit
31f36efd21
|
@ -1,21 +1,18 @@
|
|||
# Template file for 'axel'
|
||||
pkgname=axel
|
||||
version=2.4
|
||||
version=2.5
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
build_pie=yes
|
||||
conf_files=/etc/axelrc
|
||||
short_desc="Download accelerator for FTP and HTTP"
|
||||
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
||||
license="GPL-2"
|
||||
homepage="https://axel.alioth.debian.org/"
|
||||
distfiles="${DEBIAN_SITE}/main/a/axel/axel_${version}.orig.tar.gz"
|
||||
checksum="359a57ab4e354bcb6075430d977c59d33eb3e2f1415a811948fa8ae657ca8036"
|
||||
checksum="02376767e7f9e6c4292333e69ad0f615f62be5df176a8daaee395f25b0ab1a83"
|
||||
|
||||
post_configure() {
|
||||
# Change Makefile.settings to not use -Os, because we have no gcc_s library
|
||||
sed -i Makefile.settings -e 's; -Os;;'
|
||||
# Change CFLAGS= to CFLAGS+= to keep predefined flags
|
||||
sed -i Makefile.settings -e 's;CFLAGS=;CFLAGS+=;'
|
||||
# Replace strip by dummy command echo
|
||||
sed -i Makefile.settings -e 's;STRIP=strip;STRIP=echo;'
|
||||
# Fix Makefile so our $CFLAGS are used
|
||||
sed -i Makefile.settings -e 's; -Os;;' -e 's;CFLAGS=;CFLAGS+=;'
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue