OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
| 1 | # |
| 2 | # Copyright (C) 2009 Qi Hardware Inc. |
| 3 | # Author: Xiangfu Liu <xiangfu@qi-hardware.com> |
| 4 | # |
| 5 | # This is free software, licensed under the GNU General Public License v2. |
| 6 | # See /LICENSE for more information. |
| 7 | # |
| 8 | |
| 9 | include $(TOPDIR)/rules.mk |
| 10 | |
| 11 | PKG_NAME:=sdcv |
| 12 | PKG_VERSION:=0.4.2 |
| 13 | |
| 14 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 |
| 15 | PKG_SOURCE_URL:=@SF/$(PKG_NAME) |
| 16 | PKG_MD5SUM:=f624662b333daa5da2d3e99cef519f17 |
| 17 | |
| 18 | PKG_INSTALL:=1 |
| 19 | |
| 20 | include $(INCLUDE_DIR)/package.mk |
| 21 | include $(INCLUDE_DIR)/nls.mk |
| 22 | |
| 23 | define Package/sdcv |
| 24 | TITLE:=sdcv |
| 25 | SECTION:=utils |
| 26 | CATEGORY:=Utilities |
| 27 | DEPENDS:=$(ICONV_DEPENDS) $(INTL_DEPENDS) +libreadline +glib2 +libstdcpp +libncurses +PACKAGE_libncursesw:libncursesw |
| 28 | URL:=http://sdcv.sourceforge.net/ |
| 29 | endef |
| 30 | |
| 31 | define Package/sdcv/description |
| 32 | StarDict Command line version |
| 33 | endef |
| 34 | |
| 35 | define Package/sdcv/install |
| 36 | $(INSTALL_DIR) $(1)/usr/bin |
| 37 | $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/sdcv $(1)/usr/bin/ |
| 38 | endef |
| 39 | |
| 40 | $(eval $(call BuildPackage,sdcv)) |
| 41 |
