2009-11-27 15:50:28 +02:00
|
|
|
#
|
|
|
|
# Copyright (C) 2009 Qi Hardware Inc.
|
|
|
|
# Author: Xiangfu Liu <xiangfu@qi-hardware.com>
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=sdcv
|
|
|
|
PKG_VERSION:=0.4.2
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
|
|
|
PKG_SOURCE_URL:=http://cdnetworks-kr-1.dl.sourceforge.net/project/sdcv/sdcv/0.4.2/
|
|
|
|
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
|
|
|
|
|
|
|
PKG_INSTALL:=1
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/sdcv
|
|
|
|
TITLE:=sdcv
|
|
|
|
SECTION:=utils
|
|
|
|
CATEGORY:=Utilities
|
2009-11-29 18:08:51 +02:00
|
|
|
DEPENDS:=+libintl
|
2009-11-27 15:50:28 +02:00
|
|
|
URL:=http://sdcv.sourceforge.net/
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/sdcv/description
|
|
|
|
StarDict Command line version
|
|
|
|
endef
|
|
|
|
|
|
|
|
TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libintl/include
|
|
|
|
TARGET_LDFLAGS+= -L$(STAGING_DIR)/usr/lib/libintl/lib
|
|
|
|
|
|
|
|
CONFIGURE_ARGS +=
|
|
|
|
|
|
|
|
define Package/sdcv/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/sdcv $(1)/usr/bin/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,sdcv))
|