OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
1 | # |
2 | # This is free software, licensed under the GNU General Public License v2. |
3 | # See /LICENSE for more information. |
4 | # |
5 | |
6 | include $(TOPDIR)/rules.mk |
7 | |
8 | PKG_NAME:=bard |
9 | PKG_VERSION:=0.7 |
10 | |
11 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-current.tar.bz2 |
12 | PKG_SOURCE_URL:=http://festvox.org/bard/ |
13 | |
14 | PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)-current/ |
15 | PKG_RELEASE:=2 |
16 | PKG_FIXUP:=autoreconf |
17 | |
18 | |
19 | include $(INCLUDE_DIR)/package.mk |
20 | |
21 | define 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 |
28 | endef |
29 | |
30 | define Package/bard/description |
31 | Bard Storyteller is a text reader. Bard not only allows a user to read books, |
32 | but can also read books to a user using text-to-speech. |
33 | endef |
34 | |
35 | CONFIGURE_ARGS += FLITEDIR=$(STAGING_DIR)/usr \ |
36 | DEFAULTFONT=/usr/share/fonts/ttf-dejavu/DejaVuSans.ttf |
37 | |
38 | TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/SDL |
39 | TARGET_LDFLAGS+= -Wl,-rpath-link=$(STAGING_DIR)/usr/lib -lzip |
40 | |
41 | define Package/bard/install |
42 | $(INSTALL_DIR) $(1)/usr/bin/ |
43 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/bard $(1)/usr/bin/ |
44 | endef |
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 |