mirror of
https://github.com/pygos/build.git
synced 2024-11-05 03:27:10 +01:00
Remove gcc support packages
Instead, use the gcc provided helper script to patch up the unpacked source code. Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
This commit is contained in:
parent
52ca26a61b
commit
60a4cf2e59
6 changed files with 2 additions and 128 deletions
|
@ -1,25 +0,0 @@
|
|||
VERSION="0.18.1"
|
||||
SRCDIR="cloog-$VERSION"
|
||||
TARBALL="cloog-$VERSION.tar.gz"
|
||||
URL="ftp://gcc.gnu.org/pub/gcc/infrastructure"
|
||||
SHA256SUM="02500a4edd14875f94fe84cbeda4290425cb0c1c2474c6f75d75a303d64b4196"
|
||||
DEPENDS="tc-pkgtool"
|
||||
|
||||
prepare() {
|
||||
return
|
||||
}
|
||||
|
||||
build() {
|
||||
return
|
||||
}
|
||||
|
||||
deploy() {
|
||||
touch "$PKGDEPLOYDIR/$PKGNAME.files"
|
||||
touch "$PKGDEPLOYDIR/$PKGNAME.desc"
|
||||
}
|
||||
|
||||
check_update() {
|
||||
curl --silent --list-only "$URL/" | grep -o "cloog-[0-9.]*tar.gz" | \
|
||||
sed 's/cloog-//g' | sed 's/.tar.gz//g' | \
|
||||
verson_find_greatest "$VERSION"
|
||||
}
|
|
@ -3,7 +3,7 @@ SRCDIR="gcc-$VERSION"
|
|||
TARBALL="gcc-$VERSION.tar.xz"
|
||||
URL="http://ftp.gnu.org/gnu/gcc/gcc-$VERSION"
|
||||
SHA256SUM="64baadfe6cc0f4947a84cb12d7f0dfaf45bb58b7e92461639596c21e02d97d2c"
|
||||
DEPENDS="tc-binutils tc-cloog tc-gmp tc-isl tc-mpc tc-mpfr linux-dev fortify-headers"
|
||||
DEPENDS="tc-binutils linux-dev fortify-headers"
|
||||
|
||||
prepare() {
|
||||
apply_patches
|
||||
|
@ -20,20 +20,7 @@ prepare() {
|
|||
-i "$PKGSRCDIR/$SRCDIR/gcc/config/$subdir"
|
||||
done
|
||||
|
||||
for child in cloog gmp isl mpc mpfr; do
|
||||
include_pkg "tc-$child"
|
||||
|
||||
if [ ! -e "$child" ]; then
|
||||
echo "installing symlink to $child..."
|
||||
ln -s "$PKGSRCDIR/$SRCDIR" "$child"
|
||||
else
|
||||
if [ ! -L "$child" ]; then
|
||||
echo "ERROR: $child " \
|
||||
"exists but is not a symlink!"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
done
|
||||
./contrib/download_prerequisites --verify --sha512
|
||||
}
|
||||
|
||||
build() {
|
||||
|
|
|
@ -1,17 +0,0 @@
|
|||
# inherit package details from target GMP package
|
||||
source "$SCRIPTDIR/pkg/gmp/build"
|
||||
DEPENDS="tc-pkgtool"
|
||||
SUBPKG="tc-gmp"
|
||||
|
||||
prepare() {
|
||||
return
|
||||
}
|
||||
|
||||
build() {
|
||||
return
|
||||
}
|
||||
|
||||
deploy() {
|
||||
touch "$PKGDEPLOYDIR/$PKGNAME.files"
|
||||
touch "$PKGDEPLOYDIR/$PKGNAME.desc"
|
||||
}
|
|
@ -1,25 +0,0 @@
|
|||
VERSION="0.18"
|
||||
SRCDIR="isl-$VERSION"
|
||||
TARBALL="isl-$VERSION.tar.bz2"
|
||||
URL="ftp://gcc.gnu.org/pub/gcc/infrastructure"
|
||||
SHA256SUM="6b8b0fd7f81d0a957beb3679c81bbb34ccc7568d5682844d8924424a0dadcb1b"
|
||||
DEPENDS="tc-pkgtool"
|
||||
|
||||
prepare() {
|
||||
return
|
||||
}
|
||||
|
||||
build() {
|
||||
return
|
||||
}
|
||||
|
||||
deploy() {
|
||||
touch "$PKGDEPLOYDIR/$PKGNAME.files"
|
||||
touch "$PKGDEPLOYDIR/$PKGNAME.desc"
|
||||
}
|
||||
|
||||
check_update() {
|
||||
curl --silent --list-only "$URL/" | grep -o "isl-[0-9.]*tar.bz2" | \
|
||||
sed 's/isl-//g' | sed 's/.tar.bz2//g' | \
|
||||
verson_find_greatest "$VERSION"
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
VERSION="1.1.0"
|
||||
SRCDIR="mpc-$VERSION"
|
||||
TARBALL="mpc-$VERSION.tar.gz"
|
||||
URL="http://ftp.gnu.org/gnu/mpc"
|
||||
SHA256SUM="6985c538143c1208dcb1ac42cedad6ff52e267b47e5f970183a3e75125b43c2e"
|
||||
DEPENDS="tc-pkgtool"
|
||||
|
||||
prepare() {
|
||||
return
|
||||
}
|
||||
|
||||
build() {
|
||||
return
|
||||
}
|
||||
|
||||
deploy() {
|
||||
touch "$PKGDEPLOYDIR/$PKGNAME.files"
|
||||
touch "$PKGDEPLOYDIR/$PKGNAME.desc"
|
||||
}
|
||||
|
||||
check_update() {
|
||||
check_update_simple "$URL" "mpc-" "tar.gz"
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
VERSION="4.0.2"
|
||||
SRCDIR="mpfr-$VERSION"
|
||||
TARBALL="mpfr-$VERSION.tar.xz"
|
||||
URL="http://ftp.gnu.org/gnu/mpfr"
|
||||
SHA256SUM="1d3be708604eae0e42d578ba93b390c2a145f17743a744d8f3f8c2ad5855a38a"
|
||||
DEPENDS="tc-pkgtool"
|
||||
|
||||
prepare() {
|
||||
return
|
||||
}
|
||||
|
||||
build() {
|
||||
return
|
||||
}
|
||||
|
||||
deploy() {
|
||||
touch "$PKGDEPLOYDIR/$PKGNAME.files"
|
||||
touch "$PKGDEPLOYDIR/$PKGNAME.desc"
|
||||
}
|
||||
|
||||
check_update() {
|
||||
check_update_simple "$URL" "mpfr-" "tar.xz"
|
||||
}
|
Loading…
Reference in a new issue