OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
Source at commit 5fb08d2812feeb22abfe36866fb1d9b9780d704a created 13 years 1 month ago. By kyak, sdcv: use ICONV notation | |
---|---|
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:=http://cdnetworks-kr-1.dl.sourceforge.net/project/sdcv/sdcv/0.4.2/ |
16 | |
17 | PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) |
18 | |
19 | PKG_INSTALL:=2 |
20 | |
21 | include $(INCLUDE_DIR)/package.mk |
22 | include $(INCLUDE_DIR)/nls.mk |
23 | |
24 | define Package/sdcv |
25 | TITLE:=sdcv |
26 | SECTION:=utils |
27 | CATEGORY:=Utilities |
28 | DEPENDS:=$(ICONV_DEPENDS) $(INTL_DEPENDS) +libreadline +glib2 |
29 | URL:=http://sdcv.sourceforge.net/ |
30 | endef |
31 | |
32 | define Package/sdcv/description |
33 | StarDict Command line version |
34 | endef |
35 | |
36 | define Package/sdcv/install |
37 | $(INSTALL_DIR) $(1)/usr/bin |
38 | $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/sdcv $(1)/usr/bin/ |
39 | endef |
40 | |
41 | $(eval $(call BuildPackage,sdcv)) |
42 |