svox: Add build output to package

Signed-off-by: Ted Hess <thess@kitschensync.net>
This commit is contained in:
Ted Hess 2015-02-11 15:07:18 -05:00
parent 2e416a28b6
commit 2f2878c1e0
1 changed files with 7 additions and 6 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=svox
PKG_VERSION:=1.0+git20130326
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/non-free/s/svox
@ -49,12 +49,13 @@ define Build/Prepare
mv $(PKG_BUILD_DIR)/pico/* $(PKG_BUILD_DIR)
endef
define Build/Configure
$(call Build/Configure/Default)
endef
define Package/svox/install
$(call Build/Install/Default)
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/pico2wave $(1)/usr/bin/
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libttspico.so* $(1)/usr/lib/
$(INSTALL_DIR) $(1)/usr/share/pico/lang
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/pico/lang/* $(1)/usr/share/pico/lang/
endef
$(eval $(call BuildPackage,svox))