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

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