mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-23 02:56:14 +02:00
83335f8c45
global.ecpp:5:26: error: zim/qunicode.h: No such file or directory
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
#
|
|
# Copyright (C) 2008 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=zimreader
|
|
PKG_REV:=239
|
|
PKG_VERSION:=r$(PKG_REV)
|
|
PKG_RELEASE:=1
|
|
PKG_SOURCE_PROTO:=svn
|
|
PKG_SOURCE_VERSION:=$(PKG_REV)
|
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=http://svn.openzim.org/svnroot/trunk/zimreader
|
|
PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)/
|
|
|
|
PKG_BUILD_DEPENDS:=tntnet/host
|
|
|
|
PKG_INSTALL:=1
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
TARGET_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
|
|
|
|
define Package/zimreader
|
|
TITLE:=zimreader
|
|
SECTION:=utils
|
|
CATEGORY:=Utilities
|
|
DEPENDS:=@BROKEN +zimlib +tntnet +libpthread
|
|
URL:=http://openzim.org
|
|
endef
|
|
|
|
define Build/Configure
|
|
( cd $(PKG_BUILD_DIR); ./autogen.sh );
|
|
$(call Build/Configure/Default)
|
|
endef
|
|
|
|
define Package/zimreader/install
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,zimreader))
|