tcc: add musl, nocross and make_check_target
This commit is contained in:
parent
77961f52e4
commit
12d0ed9315
@ -1,12 +1,12 @@
|
|||||||
# Template file for 'tcc'
|
# Template file for 'tcc'
|
||||||
pkgname=tcc
|
pkgname=tcc
|
||||||
version=0.9.27
|
version=0.9.27
|
||||||
revision=1
|
revision=2
|
||||||
_gitrev=d348a9a51d32cece842b7885d27a411436d7887b
|
_gitrev=d348a9a51d32cece842b7885d27a411436d7887b
|
||||||
wrksrc=tinycc-${_gitrev:0:7}
|
wrksrc=tinycc-${_gitrev:0:7}
|
||||||
nopie=yes
|
nopie=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
only_for_archs="i686 x86_64"
|
make_check_target="test"
|
||||||
hostmakedepends="perl"
|
hostmakedepends="perl"
|
||||||
short_desc="The Tiny C Compiler"
|
short_desc="The Tiny C Compiler"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
@ -14,6 +14,11 @@ homepage="http://bellard.org/tcc/"
|
|||||||
license="LGPL-2.1"
|
license="LGPL-2.1"
|
||||||
distfiles="http://repo.or.cz/tinycc.git/snapshot/${_gitrev}.tar.gz>${pkgname}-${version}.tar.gz"
|
distfiles="http://repo.or.cz/tinycc.git/snapshot/${_gitrev}.tar.gz>${pkgname}-${version}.tar.gz"
|
||||||
checksum=1c3a4150b4aaab9751af2112e8bfd8a93fd1a9d36af048e996ebfc0fd1f07e48
|
checksum=1c3a4150b4aaab9751af2112e8bfd8a93fd1a9d36af048e996ebfc0fd1f07e48
|
||||||
|
nocross=yes
|
||||||
|
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
*-musl) configure_args="--config-musl";;
|
||||||
|
esac
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
# Replace lib64 with lib
|
# Replace lib64 with lib
|
||||||
|
Loading…
x
Reference in New Issue
Block a user