bump version to 2.8
[openwrt.git] / obsolete-buildroot / make / tn5250.mk
1 TN5250_SITE:=http://aleron.dl.sourceforge.net/sourceforge/tn5250
2 TN5250_DIR:=$(BUILD_DIR)/tn5250-0.16.4
3 TN5250_SOURCE:=tn5250-0.16.4.tar.gz
4
5 $(DL_DIR)/$(TN5250_SOURCE):
6 $(WGET) -P $(DL_DIR) $(TN5250_SITE)/$(TN5250_SOURCE)
7
8 $(TN5250_DIR)/.dist: $(DL_DIR)/$(TN5250_SOURCE)
9 gunzip -c $(DL_DIR)/$(TN5250_SOURCE) | tar -C $(BUILD_DIR) -xvf -
10 -touch $(TN5250_DIR)/.dist
11
12 $(TN5250_DIR)/.configured: $(TN5250_DIR)/.dist
13 (cd $(TN5250_DIR); rm -rf config.cache; \
14 $(TARGET_CONFIGURE_OPTS) \
15 ./configure \
16 --target=$(GNU_TARGET_NAME) \
17 --host=$(GNU_TARGET_NAME) \
18 --build=$(GNU_HOST_NAME) \
19 --prefix=/usr \
20 --exec-prefix=/usr \
21 --bindir=/usr/bin \
22 --sbindir=/usr/sbin \
23 --libexecdir=/usr/lib \
24 --sysconfdir=/etc \
25 --datadir=/usr/share \
26 --localstatedir=/var \
27 --mandir=/usr/man \
28 --infodir=/usr/info \
29 $(DISABLE_NLS) \
30 --with-slang --without-x --without-ssl \
31 );
32 touch $(TN5250_DIR)/.configured
33
34 $(TN5250_DIR)/tn5250: $(TN5250_DIR)/.configured
35 $(MAKE) CC=$(TARGET_CC) -C $(TN5250_DIR)
36
37 $(TARGET_DIR)/usr/bin/tn5250: $(TN5250_DIR)/tn5250
38 install -c $(TN5250_DIR)/tn5250 $(TARGET_DIR)/usr/bin/tn5250
39
40 tn5250: uclibc slang $(TARGET_DIR)/usr/bin/tn5250
41
42 tn5250-source: $(DL_DIR)/$(TN5250_SOURCE)
43
44 tn5250-clean:
45 $(MAKE) -C $(TN5250_DIR) clean
46
47 tn5250-dirclean:
48 rm -rf $(TN5250_DIR)
49
50
51
This page took 0.054275 seconds and 5 git commands to generate.