summaryrefslogtreecommitdiffstats
path: root/src/gcc-fortran.mk
blob: e350160b05e36484481b503621c66c9078ef45ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# GCC fortran

PKG            := gcc-fortran
$(PKG)_VERSION := 4.3.3
$(PKG)_SUBDIR  := gcc-$($(PKG)_VERSION)
$(PKG)_FILE    := gcc-fortran-$($(PKG)_VERSION).tar.bz2
$(PKG)_WEBSITE := http://gcc.gnu.org/
$(PKG)_URL     := http://$(SOURCEFORGE_MIRROR)/tdm-gcc/$($(PKG)_FILE)
$(PKG)_DEPS    :=

define $(PKG)_UPDATE
    wget -q -O- 'http://sourceforge.net/project/showfiles.php?group_id=200665&package_id=238462' | \
    grep 'gcc-fortran-' | \
    $(SED) -n 's,.*gcc-fortran-\([0-9][^>]*\)\.tar.*,\1,p' | \
    head -1
endef