Root/bard/Makefile

1#
2# This is free software, licensed under the GNU General Public License v2.
3# See /LICENSE for more information.
4#
5
6include $(TOPDIR)/rules.mk
7
8PKG_NAME:=bard
9PKG_VERSION:=0.7
10
11PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-current.tar.bz2
12PKG_SOURCE_URL:=http://festvox.org/bard/
13
14PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)-current/
15PKG_RELEASE:=2
16PKG_FIXUP:=autoreconf
17
18
19include $(INCLUDE_DIR)/package.mk
20
21define Package/bard
22  MAINTAINER:="Xiangfu Liu" <xiangfu@sharism.cc>
23  SECTION:=multimedia
24  CATEGORY:=Multimedia
25  TITLE:=bard
26  URL:=http://festvox.org/bard/
27  DEPENDS:=+flite +libsdl +libsdl-ttf +dejavu-fonts-ttf-DejaVuSans +libzip
28endef
29
30define Package/bard/description
31Bard Storyteller is a text reader. Bard not only allows a user to read books,
32but can also read books to a user using text-to-speech.
33endef
34
35CONFIGURE_ARGS += FLITEDIR=$(STAGING_DIR)/usr \
36    DEFAULTFONT=/usr/share/fonts/ttf-dejavu/DejaVuSans.ttf
37
38TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/SDL
39TARGET_LDFLAGS+= -Wl,-rpath-link=$(STAGING_DIR)/usr/lib -lzip
40
41define Package/bard/install
42    $(INSTALL_DIR) $(1)/usr/bin/
43    $(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/bard $(1)/usr/bin/
44endef
45
46$(eval $(call BuildPackage,bard))
47
48
49# The following comments configure the Emacs editor. Just ignore them.
50# Local Variables:
51# 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"
52# End:
53

Archive Download this file



interactive