New package: sdcc-3.7.0 (#549)

This commit is contained in:
Leandro Vital 2018-07-14 18:46:13 -03:00 committed by cr6git
parent 1386720664
commit ffa291b0c8

20
srcpkgs/sdcc/template Normal file
View file

@ -0,0 +1,20 @@
# 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
}