소스 검색

Merge pull request #898 from thess/svox-work

svox: Add build output to package
Ted Hess 10 년 전
부모
커밋
9786955abc
1개의 변경된 파일7개의 추가작업 그리고 6개의 파일을 삭제
  1. 7
    6
      sound/svox/Makefile

+ 7
- 6
sound/svox/Makefile 파일 보기

9
 
9
 
10
 PKG_NAME:=svox
10
 PKG_NAME:=svox
11
 PKG_VERSION:=1.0+git20130326
11
 PKG_VERSION:=1.0+git20130326
12
-PKG_RELEASE:=1
12
+PKG_RELEASE:=2
13
 
13
 
14
 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
14
 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
15
 PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/non-free/s/svox
15
 PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/non-free/s/svox
49
 	mv $(PKG_BUILD_DIR)/pico/* $(PKG_BUILD_DIR)
49
 	mv $(PKG_BUILD_DIR)/pico/* $(PKG_BUILD_DIR)
50
 endef
50
 endef
51
 
51
 
52
-define Build/Configure
53
-	$(call Build/Configure/Default)
54
-endef
55
-
56
 define Package/svox/install
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
 endef
59
 endef
59
 
60
 
60
 $(eval $(call BuildPackage,svox))
61
 $(eval $(call BuildPackage,svox))