diff --git a/pkg/tc-cloog/build b/pkg/tc-cloog/build deleted file mode 100755 index 8928ba9..0000000 --- a/pkg/tc-cloog/build +++ /dev/null @@ -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" -} \ No newline at end of file diff --git a/pkg/tc-gcc1/build b/pkg/tc-gcc1/build index 6b2dde4..d39a92b 100755 --- a/pkg/tc-gcc1/build +++ b/pkg/tc-gcc1/build @@ -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() { diff --git a/pkg/tc-gmp/build b/pkg/tc-gmp/build deleted file mode 100755 index f70b68a..0000000 --- a/pkg/tc-gmp/build +++ /dev/null @@ -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" -} \ No newline at end of file diff --git a/pkg/tc-isl/build b/pkg/tc-isl/build deleted file mode 100755 index 7ca9e0e..0000000 --- a/pkg/tc-isl/build +++ /dev/null @@ -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" -} \ No newline at end of file diff --git a/pkg/tc-mpc/build b/pkg/tc-mpc/build deleted file mode 100755 index 1deb925..0000000 --- a/pkg/tc-mpc/build +++ /dev/null @@ -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" -} \ No newline at end of file diff --git a/pkg/tc-mpfr/build b/pkg/tc-mpfr/build deleted file mode 100755 index 2f53584..0000000 --- a/pkg/tc-mpfr/build +++ /dev/null @@ -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" -} \ No newline at end of file