Explorar el Código

svox: Add build output to package

Signed-off-by: Ted Hess <thess@kitschensync.net>
Ted Hess hace 10 años
padre
commit
2f2878c1e0
Se han modificado 1 ficheros con 7 adiciones y 6 borrados
  1. 7
    6
      sound/svox/Makefile

+ 7
- 6
sound/svox/Makefile Ver fichero

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