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

PKG             := gcc-g++
$(PKG)_VERSION  := 4.3.3
$(PKG)_CHECKSUM := cb41dc7f52a23167b1dfdadadd437bbecb1dce05
$(PKG)_SUBDIR   := gcc-$($(PKG)_VERSION)
$(PKG)_FILE     := gcc-g++-$($(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-g++-' | \
    $(SED) -n 's,.*gcc-g++-\([0-9][^>]*\)\.tar.*,\1,p' | \
    head -1
endef