21 lines
630 B
Bash
21 lines
630 B
Bash
# Template file for 'sdcc'
|
|
pkgname=sdcc
|
|
version=3.7.0
|
|
revision=1
|
|
only_for_archs="i686 x86_64 x86_64-musl"
|
|
wrksrc="${pkgname}"
|
|
build_style=gnu-configure
|
|
hostmakedepends="flex bison gputils"
|
|
makedepends="boost-devel"
|
|
short_desc="Retargettable ANSI C compiler"
|
|
maintainer="Leandro Vital <leavitals@gmail.com>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://sdcc.sourceforge.net/"
|
|
distfiles="${SOURCEFORGE_SITE}/sdcc/${pkgname}-src-${version}.tar.bz2"
|
|
checksum=854d47094698b06142df3d5fc646bb540d497ab4073ad2f051b8ec2141df948e
|
|
nostrip=yes
|
|
|
|
post_extract() {
|
|
sed -i 's|CC -E|CC -O2 -E|g' ${wrksrc}/support/sdbinutils/libiberty/configure
|
|
}
|