comparison src/gdb.mk @ 2700:9be16103cdb1

update package gdb
author Mark Brand <mabrand@mabrand.nl>
date Sat, 18 Aug 2012 12:00:48 +0200
parents 4d0f3a9da57e
children 47558e958113
comparison
equal deleted inserted replaced
2699:f4902ff680c1 2700:9be16103cdb1
1 # This file is part of MXE. 1 # This file is part of MXE.
2 # See index.html for further information. 2 # See index.html for further information.
3 3
4 PKG := gdb 4 PKG := gdb
5 $(PKG)_CHECKSUM := 1b0f8c3778d4b10c8d2be6922ac01a9900e8116c 5 $(PKG)_CHECKSUM := 79b61152813e5730fa670c89e5fc3c04b670b02c
6 $(PKG)_SUBDIR := gdb-$($(PKG)_VERSION) 6 $(PKG)_SUBDIR := gdb-$($(PKG)_VERSION)
7 $(PKG)_FILE := gdb-$($(PKG)_VERSION).tar.bz2 7 $(PKG)_FILE := gdb-$($(PKG)_VERSION).tar.bz2
8 $(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/$(PKG)/$($(PKG)_FILE) 8 $(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/$(PKG)/$($(PKG)_FILE)
9 $(PKG)_URL_2 := ftp://ftp.cs.tu-berlin.de/pub/gnu/$(PKG)/$($(PKG)_FILE) 9 $(PKG)_URL_2 := ftp://ftp.cs.tu-berlin.de/pub/gnu/$(PKG)/$($(PKG)_FILE)
10 $(PKG)_DEPS := gcc expat libiconv zlib 10 $(PKG)_DEPS := gcc expat libiconv zlib
18 endef 18 endef
19 19
20 define $(PKG)_BUILD 20 define $(PKG)_BUILD
21 cd '$(1)' && ./configure \ 21 cd '$(1)' && ./configure \
22 --host='$(TARGET)' \ 22 --host='$(TARGET)' \
23 --build="`config.guess`" \
23 --disable-shared \ 24 --disable-shared \
24 --prefix='$(PREFIX)/$(TARGET)' \ 25 --prefix='$(PREFIX)/$(TARGET)' \
25 CONFIG_SHELL=$(SHELL) 26 CONFIG_SHELL=$(SHELL)
26 $(MAKE) -C '$(1)' -j '$(JOBS)' 27 $(MAKE) -C '$(1)' -j '$(JOBS)'
27 $(MAKE) -C '$(1)' -j 1 install 28 $(MAKE) -C '$(1)' -j 1 install