void-packages/srcpkgs/axel/template

22 lines
762 B
Bash
Raw Normal View History

2015-04-23 11:34:30 +02:00
# Template file for 'axel'
pkgname=axel
version=2.4
revision=1
build_style=gnu-configure
conf_files=/etc/axelrc
2015-04-23 11:34:30 +02:00
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"
post_configure() {
2015-04-23 11:34:30 +02:00
# 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;'
2015-04-23 11:34:30 +02:00
}