[PATCH 2/2] add stardict. not compiled now. just for starting

Xiangfu Liu xiangfu at qi-hardware.com
Sun Nov 29 11:14:35 EST 2009


---
 stardict/Makefile |   44 ++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 44 insertions(+), 0 deletions(-)
 create mode 100644 stardict/Makefile

diff --git a/stardict/Makefile b/stardict/Makefile
new file mode 100644
index 0000000..da03096
--- /dev/null
+++ b/stardict/Makefile
@@ -0,0 +1,44 @@
+#
+# Copyright (C) 2009 Qi Hardware Inc.
+# Author: Xiangfu Liu <xiangfu at qi-hardware.com>
+# 
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=stardict
+PKG_VERSION:=3.0.1
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
+PKG_SOURCE_URL:=http://downloads.sourceforge.net/stardict/
+
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+
+PKG_INSTALL:=1
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/stardict
+    TITLE:=stardict
+    SECTION:=utils
+    CATEGORY:=Utilities
+    DEPENDS:=+libintl +libiconv
+    URL:=
+endef
+
+define Package/stardict/description
+    StarDict is a Cross-Platform and international dictionary Software.
+endef
+
+CONFIGURE_ARGS += --disable-spell --disable-gucharmap \
+	--disable-festival \
+	--disable-espeak
+
+define Package/stardict/install
+	$(INSTALL_DIR) $(1)/usr/bin
+	$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/stardict $(1)/usr/bin/
+endef
+
+$(eval $(call BuildPackage,stardict))
-- 
1.6.3.3





More information about the discussion mailing list


interactive