Root/bard/Makefile

Source at commit 20b0b779c2e4fc39f188cf9728b69c5f0b7820e5 created 8 years 5 months ago.
By Xiangfu, bard: udpate to 0.7
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:=1
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
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
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

Archive Download this file



interactive