Change Details
stardict/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 | |
| 9 | include $(TOPDIR)/rules.mk |
| 10 | |
| 11 | PKG_NAME:=stardict |
| 12 | PKG_VERSION:=3.0.1 |
| 13 | |
| 14 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 |
| 15 | PKG_SOURCE_URL:=http://downloads.sourceforge.net/stardict/ |
| 16 | |
| 17 | PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) |
| 18 | |
| 19 | PKG_INSTALL:=1 |
| 20 | |
| 21 | include $(INCLUDE_DIR)/package.mk |
| 22 | |
| 23 | define Package/stardict |
| 24 | TITLE:=stardict |
| 25 | SECTION:=utils |
| 26 | CATEGORY:=Utilities |
| 27 | DEPENDS:=+libintl +libiconv |
| 28 | URL:= |
| 29 | endef |
| 30 | |
| 31 | define Package/stardict/description |
| 32 | StarDict is a Cross-Platform and international dictionary Software. |
| 33 | endef |
| 34 | |
| 35 | CONFIGURE_ARGS += --disable-spell --disable-gucharmap \ |
| 36 | --disable-festival \ |
| 37 | --disable-espeak |
| 38 | |
| 39 | define Package/stardict/install |
| 40 | $(INSTALL_DIR) $(1)/usr/bin |
| 41 | $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/stardict $(1)/usr/bin/ |
| 42 | endef |
| 43 | |
| 44 | $(eval $(call BuildPackage,stardict)) |
Download the corresponding diff file