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
5 $(DL_DIR
)/$(TN5250_SOURCE
):
6 $(WGET
) -P
$(DL_DIR
) $(TN5250_SITE
)/$(TN5250_SOURCE
)
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
12 $(TN5250_DIR
)/.configured
: $(TN5250_DIR
)/.
dist
13 (cd
$(TN5250_DIR
); rm -rf config.cache
; \
14 $(TARGET_CONFIGURE_OPTS
) \
16 --target
=$(GNU_TARGET_NAME
) \
17 --host
=$(GNU_TARGET_NAME
) \
18 --build
=$(GNU_HOST_NAME
) \
23 --libexecdir
=/usr
/lib \
25 --datadir=/usr
/share \
26 --localstatedir
=/var \
30 --with-slang
--without-x
--without-ssl \
32 touch
$(TN5250_DIR
)/.configured
34 $(TN5250_DIR
)/tn5250
: $(TN5250_DIR
)/.configured
35 $(MAKE
) CC
=$(TARGET_CC
) -C
$(TN5250_DIR
)
37 $(TARGET_DIR
)/usr
/bin
/tn5250
: $(TN5250_DIR
)/tn5250
38 install -c
$(TN5250_DIR
)/tn5250
$(TARGET_DIR
)/usr
/bin
/tn5250
40 tn5250
: uclibc slang
$(TARGET_DIR
)/usr
/bin
/tn5250
42 tn5250-source
: $(DL_DIR
)/$(TN5250_SOURCE
)
45 $(MAKE
) -C
$(TN5250_DIR
) clean