summaryrefslogtreecommitdiffstats
path: root/package/tn5250
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-10-09 01:24:28 +0000
committerEric Andersen <andersen@codepoet.org>2004-10-09 01:24:28 +0000
commit73f7be82904f487d167493e76b415fbe5b5f8c5a (patch)
tree8d9acaf4414892fad533fd92ebfc7e65a2ad2785 /package/tn5250
parent0b5ad783691ef6fa1285c8d7858a51c425a8b38d (diff)
downloadbuildroot-novena-73f7be82904f487d167493e76b415fbe5b5f8c5a.tar.gz
buildroot-novena-73f7be82904f487d167493e76b415fbe5b5f8c5a.zip
Remove the old 'make' directory, and populate the new 'package'
directory.
Diffstat (limited to 'package/tn5250')
-rw-r--r--package/tn5250/tn5250.mk51
1 files changed, 51 insertions, 0 deletions
diff --git a/package/tn5250/tn5250.mk b/package/tn5250/tn5250.mk
new file mode 100644
index 000000000..6fcc160d6
--- /dev/null
+++ b/package/tn5250/tn5250.mk
@@ -0,0 +1,51 @@
+TN5250_SITE:=http://aleron.dl.sourceforge.net/sourceforge/tn5250
+TN5250_DIR:=$(BUILD_DIR)/tn5250-0.16.4
+TN5250_SOURCE:=tn5250-0.16.4.tar.gz
+
+$(DL_DIR)/$(TN5250_SOURCE):
+ $(WGET) -P $(DL_DIR) $(TN5250_SITE)/$(TN5250_SOURCE)
+
+$(TN5250_DIR)/.dist: $(DL_DIR)/$(TN5250_SOURCE)
+ gunzip -c $(DL_DIR)/$(TN5250_SOURCE) | tar -C $(BUILD_DIR) -xvf -
+ -touch $(TN5250_DIR)/.dist
+
+$(TN5250_DIR)/.configured: $(TN5250_DIR)/.dist
+ (cd $(TN5250_DIR); rm -rf config.cache; \
+ $(TARGET_CONFIGURE_OPTS) \
+ ./configure \
+ --target=$(GNU_TARGET_NAME) \
+ --host=$(GNU_TARGET_NAME) \
+ --build=$(GNU_HOST_NAME) \
+ --prefix=/usr \
+ --exec-prefix=/usr \
+ --bindir=/usr/bin \
+ --sbindir=/usr/sbin \
+ --libexecdir=/usr/lib \
+ --sysconfdir=/etc \
+ --datadir=/usr/share \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --infodir=/usr/info \
+ $(DISABLE_NLS) \
+ --with-slang --without-x --without-ssl \
+ );
+ touch $(TN5250_DIR)/.configured
+
+$(TN5250_DIR)/tn5250: $(TN5250_DIR)/.configured
+ $(MAKE) CC=$(TARGET_CC) -C $(TN5250_DIR)
+
+$(TARGET_DIR)/usr/bin/tn5250: $(TN5250_DIR)/tn5250
+ install -c $(TN5250_DIR)/tn5250 $(TARGET_DIR)/usr/bin/tn5250
+
+tn5250: uclibc slang $(TARGET_DIR)/usr/bin/tn5250
+
+tn5250-source: $(DL_DIR)/$(TN5250_SOURCE)
+
+tn5250-clean:
+ $(MAKE) -C $(TN5250_DIR) clean
+
+tn5250-dirclean:
+ rm -rf $(TN5250_DIR)
+
+
+