Root/sdcv/Makefile

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
9include $(TOPDIR)/rules.mk
10
11PKG_NAME:=sdcv
12PKG_VERSION:=0.4.2
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15PKG_SOURCE_URL:=@SF/$(PKG_NAME)
16PKG_MD5SUM:=f624662b333daa5da2d3e99cef519f17
17
18PKG_INSTALL:=1
19
20include $(INCLUDE_DIR)/package.mk
21include $(INCLUDE_DIR)/nls.mk
22
23define 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/
29endef
30
31define Package/sdcv/description
32    StarDict Command line version
33endef
34
35define Package/sdcv/install
36    $(INSTALL_DIR) $(1)/usr/bin
37    $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/sdcv $(1)/usr/bin/
38endef
39
40$(eval $(call BuildPackage,sdcv))
41

Archive Download this file



interactive