sharutils: enable x86_gcc2

This commit is contained in:
Jerome Duval
2014-04-14 19:55:35 +00:00
parent aac2b105e0
commit 2851af416a
2 changed files with 44 additions and 13 deletions

View File

@@ -15,20 +15,14 @@ shell. unshar may also process files containing concatenated shell archives.
HOMEPAGE="http://www.gnu.org/software/sharutils/"
LICENSE="GNU GPL v3"
COPYRIGHT="1990-2013 Free Software Foundation, Inc."
SRC_URI="http://ftp.gnu.org/gnu/sharutils/sharutils-4.14.tar.xz"
CHECKSUM_MD5="77ede22951bdb67279c6e78e79a04784"
SRC_URI="http://ftp.gnu.org/gnu/sharutils/sharutils-4.14.tar.gz"
CHECKSUM_SIZE="2113043"
CHECKSUM_RMD160="18199af4630ffb16ed9d87573cb89f1cc49a6c57"
CHECKSUM_SHA512="248dbdb5bdee69a729d866044a7d0e33c683ed8ad3d356fb6f62d9838d742e4be13f7b41bc45a1c97d905e164057f1261dba9b97b201946dbb19f191a7c78ef4"
REVISION="1"
ARCHITECTURES="x86 ?x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
# x86_gcc2 is fine as primary target architecture as long as we're building
# for a different secondary architecture.
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
else
ARCHITECTURES="$ARCHITECTURES !x86_gcc2"
fi
SECONDARY_ARCHITECTURES="x86"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
sharutils$secondaryArchSuffix = $portVersion
@@ -47,6 +41,7 @@ BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
cmd:awk
cmd:make
cmd:which
cmd:bison