2012-02-09 05:15:50 +02:00
|
|
|
#
|
2012-01-22 09:18:23 +02:00
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=bard
|
2012-03-09 10:33:10 +02:00
|
|
|
PKG_VERSION:=0.7
|
2012-01-22 09:18:23 +02:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-current.tar.bz2
|
|
|
|
PKG_SOURCE_URL:=http://festvox.org/bard/
|
|
|
|
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)-current/
|
2012-04-13 05:17:12 +03:00
|
|
|
PKG_RELEASE:=2
|
2012-01-23 16:45:42 +02:00
|
|
|
PKG_FIXUP:=autoreconf
|
|
|
|
|
2012-01-22 09:18:23 +02:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/bard
|
2012-02-09 05:15:50 +02:00
|
|
|
MAINTAINER:="Xiangfu Liu" <xiangfu@sharism.cc>
|
2012-01-22 09:18:23 +02:00
|
|
|
SECTION:=multimedia
|
|
|
|
CATEGORY:=Multimedia
|
|
|
|
TITLE:=bard
|
2012-02-09 05:15:50 +02:00
|
|
|
URL:=http://festvox.org/bard/
|
2012-04-13 05:17:12 +03:00
|
|
|
DEPENDS:=+flite +libsdl +libsdl-ttf +dejavu-fonts-ttf-DejaVuSans +libzip
|
2012-01-22 09:18:23 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/bard/description
|
|
|
|
Bard Storyteller is a text reader. Bard not only allows a user to read books,
|
2012-02-09 05:15:50 +02:00
|
|
|
but can also read books to a user using text-to-speech.
|
2012-01-22 09:18:23 +02:00
|
|
|
endef
|
|
|
|
|
2012-01-23 19:05:34 +02:00
|
|
|
CONFIGURE_ARGS += FLITEDIR=$(STAGING_DIR)/usr \
|
|
|
|
DEFAULTFONT=/usr/share/fonts/ttf-dejavu/DejaVuSans.ttf
|
2012-01-23 16:38:44 +02:00
|
|
|
|
|
|
|
TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/SDL
|
2012-04-13 05:17:12 +03:00
|
|
|
TARGET_LDFLAGS+= -Wl,-rpath-link=$(STAGING_DIR)/usr/lib -lzip
|
2012-01-23 16:38:44 +02:00
|
|
|
|
2012-01-22 09:18:23 +02:00
|
|
|
define Package/bard/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin/
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/bard $(1)/usr/bin/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,bard))
|
2012-03-22 04:28:52 +02:00
|
|
|
|
|
|
|
|
|
|
|
# The following comments configure the Emacs editor. Just ignore them.
|
|
|
|
# Local Variables:
|
|
|
|
# compile-command: "cd ~/src/nanonote/bard-0.7-current && ~/bin/quilt-export target && make -C ~/h/src/qi/openwrt-xburst package/bard/compile -j2 V=99"
|
|
|
|
# End:
|