[PATCH] add jiri.brozovsky ports to openwrt-xburst.git

Xiangfu Liu xiangfu at sharism.cc
Mon May 24 11:31:36 EDT 2010


I just added your ports[1] to openwrt-xburst.git[2].
it's cool. we can slowly add more application to Nanonote.

[1]
 Dialog, Mathomatic, Remind, GNU cal, units.
 more info: http://fast10.vsb.cz/brozovsky/data/ports/

[2]http://projects.qi-hardware.com/index.php/p/openwrt-packages/source/tree/master/ 

Signed-off-by: Xiangfu Liu <xiangfu at sharism.cc>
---
 dialog/Makefile     |   42 ++++++++++++++++++++++++++++++++++++++
 gcal/Makefile       |   45 +++++++++++++++++++++++++++++++++++++++++
 mathomatic/Makefile |   41 +++++++++++++++++++++++++++++++++++++
 remind/Makefile     |   43 +++++++++++++++++++++++++++++++++++++++
 units/Makefile      |   56 +++++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 227 insertions(+), 0 deletions(-)
 create mode 100644 dialog/Makefile
 create mode 100644 gcal/Makefile
 create mode 100644 mathomatic/Makefile
 create mode 100644 remind/Makefile
 create mode 100644 units/Makefile

diff --git a/dialog/Makefile b/dialog/Makefile
new file mode 100644
index 0000000..8d5c5c0
--- /dev/null
+++ b/dialog/Makefile
@@ -0,0 +1,42 @@
+#
+# Copyright (C) 2006 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=dialog
+PKG_VERSION:=1.1-20080819
+PKG_RELEASE:=1
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
+PKG_SOURCE_URL:=ftp://invisible-island.net/dialog
+PKG_MD5SUM:=3caebd641a9f337b980becb4444336c5
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/dialog
+	SECTION:=utils
+	CATEGORY:=Utilities
+	DEPENDS:=+libncurses
+	TITLE:=Dialog
+	URL:=http://invisible-island.net/dialog/
+endef
+
+define Package/dialog/description
+	A script-interpreter which provides a set of curses widgets.
+endef
+
+define Build/Configure
+	$(call Build/Configure/Default)
+endef
+
+define Package/dialog/install
+	$(INSTALL_DIR) $(1)/usr/bin
+	$(INSTALL_BIN) $(PKG_BUILD_DIR)/dialog $(1)/usr/bin
+	$(STRIP) $(1)/usr/bin/dialog
+endef
+
+$(eval $(call BuildPackage,dialog))
diff --git a/gcal/Makefile b/gcal/Makefile
new file mode 100644
index 0000000..228c27a
--- /dev/null
+++ b/gcal/Makefile
@@ -0,0 +1,45 @@
+# $Id: Makefile 5624 2006-11-23 00:29:07Z nbd $
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=gcal
+PKG_VERSION:=3.01
+PKG_RELEASE:=1
+#http://www.gnu.org/software/gcal/
+#ftp://ftp.gnu.org/pub/gnu/gcal/gcal-3.01.tar.gz
+
+PKG_SOURCE:=gcal-$(PKG_VERSION).tar.gz
+	PKG_SOURCE_URL:=ftp://ftp.gnu.org/pub/gnu/gcal/
+	PKG_MD5SUM:=65f3394653829fd77f6862045112ad4f
+	PKG_CAT:=zcat
+
+PKG_BUILD_DIR:=$(BUILD_DIR)/gcal-$(PKG_VERSION)
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/gcal
+	SECTION:=utils
+	CATEGORY:=Utilities
+	TITLE:=GCal
+	URL:=http://www.gnu.org/software/gcal/
+endef
+
+define Package/gcal/description
+	GNU version of unix calendar program cal(1).
+endef
+
+define Build/Configure
+	$(call Build/Configure/Default, \
+		--prefix=/usr --with-linux-headers="$(LINUX_DIR)" \
+	)
+endef
+
+define Package/gcal/install
+	$(INSTALL_DIR) $(1)/usr/bin/
+	$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/gcal $(1)/usr/bin/
+	$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/gcal2txt $(1)/usr/bin/
+	$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/txt2gcal $(1)/usr/bin/
+	$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/tcal $(1)/usr/bin/
+endef
+
+$(eval $(call BuildPackage,gcal))
diff --git a/mathomatic/Makefile b/mathomatic/Makefile
new file mode 100644
index 0000000..7122c85
--- /dev/null
+++ b/mathomatic/Makefile
@@ -0,0 +1,41 @@
+# $Id: Makefile 5624 2006-11-23 00:29:07Z nbd $
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=mathomatic
+PKG_VERSION:=15.0.5
+PKG_RELEASE:=1
+#http://www.panix.com/~gesslein/mathomatic-15.0.5.tar.bz2
+
+PKG_SOURCE:=mathomatic-$(PKG_VERSION).tar.bz2
+	PKG_SOURCE_URL:=http://www.panix.com/~gesslein
+	PKG_MD5SUM:=e7dc6cc8dded760f41811aecf33cf2ea
+	PKG_CAT:=bzip2 -cd
+
+PKG_BUILD_DIR:=$(BUILD_DIR)/mathomatic-$(PKG_VERSION)
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/mathomatic
+	SECTION:=utils
+	CATEGORY:=Utilities
+	TITLE:=Mathomatic
+	URL:=http://www.panix.com/~gesslein/mathomatic-15.0.5.tar.bz2
+endef
+
+define Package/mathomatic/description
+	Computer algebra system.
+endef
+
+define Build/Configure
+	$(call Build/Configure/Default, \
+		--prefix=/usr --with-linux-headers="$(LINUX_DIR)" \
+	)
+endef
+
+define Package/mathomatic/install
+	$(INSTALL_DIR) $(1)/usr/bin/
+	$(INSTALL_BIN) $(PKG_BUILD_DIR)/mathomatic $(1)/usr/bin/
+endef
+
+$(eval $(call BuildPackage,mathomatic))
diff --git a/remind/Makefile b/remind/Makefile
new file mode 100644
index 0000000..5b52949
--- /dev/null
+++ b/remind/Makefile
@@ -0,0 +1,43 @@
+# $Id: Makefile 5624 2006-11-23 00:29:07Z nbd $
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=remind
+PKG_VERSION:=03.01.07
+PKG_RELEASE:=1
+#http://www.roaringpenguin.com/files/download/remind-03.01.07.tar.gz
+
+PKG_SOURCE:=remind-$(PKG_VERSION).tar.gz
+	PKG_SOURCE_URL:=http://www.roaringpenguin.com/files/download/
+	PKG_MD5SUM:=9335189e78a11b78d848aeade30058d6
+	PKG_CAT:=zcat
+
+PKG_BUILD_DIR:=$(BUILD_DIR)/remind-$(PKG_VERSION)
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/remind
+	SECTION:=utils
+	CATEGORY:=Utilities
+	TITLE:=Reminder
+	URL:=http://www.roaringpenguin.com/files/download/
+endef
+
+define Package/remind/description
+	Remind is a powerfull commadline reminder.
+endef
+
+define Build/Configure
+	$(call Build/Configure/Default, \
+		--prefix=/usr --with-linux-headers="$(LINUX_DIR)" \
+	)
+endef
+
+define Package/remind/install
+	$(INSTALL_DIR) $(1)/usr/bin/
+	$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/remind $(1)/usr/bin/
+	$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/rem2ps $(1)/usr/bin/
+	$(INSTALL_BIN) $(PKG_BUILD_DIR)/www/rem2html $(1)/usr/bin/
+endef
+
+$(eval $(call BuildPackage,remind))
diff --git a/units/Makefile b/units/Makefile
new file mode 100644
index 0000000..d6a814f
--- /dev/null
+++ b/units/Makefile
@@ -0,0 +1,56 @@
+# $Id: Makefile 5624 2006-11-23 00:29:07Z nbd $
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=units
+PKG_VERSION:=1.88
+PKG_RELEASE:=1
+#http://ftp.gnu.org/gnu/units/units-1.88.tar.gz
+
+PKG_SOURCE:=units-$(PKG_VERSION).tar.gz
+	PKG_SOURCE_URL:=http://ftp.gnu.org/gnu/units
+	PKG_MD5SUM:=9b2ee6e7e0e9c62741944cf33fc8a656
+	PKG_CAT:=zcat
+
+PKG_BUILD_DIR:=$(BUILD_DIR)/units-$(PKG_VERSION)
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/units
+	SECTION:=utils
+	CATEGORY:=Utilities
+	TITLE:=Units
+	URL:=http://www.gnu.org/software/units/units.html#downloading
+	DEPENDS+= +libreadline
+endef
+
+define Package/units/description
+	Simple unit converter
+endef
+
+#define Build/Configure
+#	$(call Build/Configure/Default, \
+#		--prefix=/usr \
+#	)
+#endef
+
+define Build/Configure
+	(cd $(PKG_BUILD_DIR); \
+		$(TARGET_CONFIGURE_OPTS) \
+		CFLAGS="$(TARGET_CFLAGS) $(FPIC)" \
+		UNAME_S="Linux" \
+		./configure \
+		--host=mipsel \
+			--prefix=/usr \
+	);
+endef
+
+
+define Package/units/install
+	$(INSTALL_DIR) $(1)/usr/bin/
+	$(INSTALL_BIN) $(PKG_BUILD_DIR)/units $(1)/usr/bin/
+	 $(INSTALL_DIR) $(1)/usr/share/
+	$(INSTALL_DATA) $(PKG_BUILD_DIR)/units.dat $(1)/usr/share/
+endef
+
+$(eval $(call BuildPackage,units))
-- 
1.6.6





More information about the discussion mailing list


interactive