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:=http://cdnetworks-kr-1.dl.sourceforge.net/project/sdcv/sdcv/0.4.2/
16
17PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
18
19PKG_INSTALL:=2
20
21include $(INCLUDE_DIR)/package.mk
22
23define Package/sdcv
24    TITLE:=sdcv
25    SECTION:=utils
26    CATEGORY:=Utilities
27    DEPENDS:=+libintl +libreadline +libiconv +glib2
28    URL:=http://sdcv.sourceforge.net/
29endef
30
31define Package/sdcv/description
32    StarDict Command line version
33endef
34
35TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libintl/include
36TARGET_LDFLAGS+= -L$(STAGING_DIR)/usr/lib/libintl/lib -L$(STAGING_DIR)/usr/lib/libiconv/lib
37
38CONFIGURE_ARGS +=
39
40define Package/sdcv/install
41    $(INSTALL_DIR) $(1)/usr/bin
42    $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/sdcv $(1)/usr/bin/
43endef
44
45$(eval $(call BuildPackage,sdcv))
46

Archive Download this file



interactive