Set conf_files to /etc/axelrc and replace strip with dummy echo
This commit is contained in:
parent
ff5b9dcf84
commit
82272bd23d
1 changed files with 4 additions and 2 deletions
|
@ -4,6 +4,7 @@ version=2.4
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc=axel-2.4
|
wrksrc=axel-2.4
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
conf_files=/etc/axelrc
|
||||||
short_desc="Download accelerator for FTP and HTTP"
|
short_desc="Download accelerator for FTP and HTTP"
|
||||||
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
|
@ -11,10 +12,11 @@ homepage="https://axel.alioth.debian.org/"
|
||||||
distfiles="${DEBIAN_SITE}/main/a/axel/axel_${version}.orig.tar.gz"
|
distfiles="${DEBIAN_SITE}/main/a/axel/axel_${version}.orig.tar.gz"
|
||||||
checksum="359a57ab4e354bcb6075430d977c59d33eb3e2f1415a811948fa8ae657ca8036"
|
checksum="359a57ab4e354bcb6075430d977c59d33eb3e2f1415a811948fa8ae657ca8036"
|
||||||
|
|
||||||
do_configure() {
|
post_configure() {
|
||||||
./configure --prefix=/usr
|
|
||||||
# Change Makefile.settings to not use -Os, because we have no gcc_s library
|
# Change Makefile.settings to not use -Os, because we have no gcc_s library
|
||||||
sed -i Makefile.settings -e 's; -Os;;'
|
sed -i Makefile.settings -e 's; -Os;;'
|
||||||
# Change CFLAGS= to CFLAGS+= to keep predefined flags
|
# Change CFLAGS= to CFLAGS+= to keep predefined flags
|
||||||
sed -i Makefile.settings -e 's;CFLAGS=;CFLAGS+=;'
|
sed -i Makefile.settings -e 's;CFLAGS=;CFLAGS+=;'
|
||||||
|
# Replace strip by dummy command echo
|
||||||
|
sed -i Makefile.settings -e 's;STRIP=strip;STRIP=echo;'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue