From 2d8f0d62984396bf506295220181164e104d5958 Mon Sep 17 00:00:00 2001 From: Xiangfu Liu Date: Sun, 19 Dec 2010 00:21:30 +0800 Subject: [PATCH] new pakcage: kinyin: a simple text editor for Chinese input ikog: python base to-do lists --- ikog/Makefile | 36 ++++++++++++++++++++++++++++++++++++ kinyin/Makefile | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 ikog/Makefile create mode 100644 kinyin/Makefile diff --git a/ikog/Makefile b/ikog/Makefile new file mode 100644 index 0000000..3e64057 --- /dev/null +++ b/ikog/Makefile @@ -0,0 +1,36 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=ikog +PKG_VERSION:=1.90 +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) + +include $(INCLUDE_DIR)/package.mk + +define Package/ikog + TITLE:=ikog + SECTION:=utils + CATEGORY:=Utilities +endef + +define Package/ikog/description + the simple todo list +endef + +define Build/Prepare + ( \ + mkdir $(PKG_BUILD_DIR); \ + cd $(PKG_BUILD_DIR); \ + wget http://www.henspace.co.uk/ikog/app/$(PKG_NAME).py.gz; \ + gzip -d $(PKG_NAME).py.gz; \ + ) +endef + +define Build/Compile +endef + +define Package/ikog/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/ikog.py $(1)/usr/bin +endef + +$(eval $(call BuildPackage,ikog)) \ No newline at end of file diff --git a/kinyin/Makefile b/kinyin/Makefile new file mode 100644 index 0000000..a27db04 --- /dev/null +++ b/kinyin/Makefile @@ -0,0 +1,40 @@ +# +# Copyright (C) 2010 Sharism.cc +# Author: Xiangfu Liu +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=kinyin +PKG_VERSION:=0.43 +PKG_RELEASE:=1 + +PKG_SOURCE:=95926-$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=http://qt-apps.org/CONTENT/content-files/ + +include $(INCLUDE_DIR)/package.mk +$(call include_mk,qmake.mk) + +define Package/kinyin + SECTION:=utils + CATEGORY:=Utilities + TITLE:=kinyin + URL:=http://qt-apps.org/content/show.php/kinyin?content=95926 + DEPENDS:=+qt4 +qt4-gui +dejavu-fonts-ttf @BROKEN +endef + +TARGET_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib + +define Build/Configure + cd $(PKG_BUILD_DIR)/qt4 && \ + $(call Build/Configure/Qmake,qt4/kinyin) +endef + +define Package/kinyin/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/kinyin $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,kinyin))