Date:2011-11-14 09:55:52 (12 years 4 months ago)
Author:Xiangfu Liu
Commit:75ee508b77a397f275f6bedc5e43eceb2f823439
Message:csound: make some progress

Files: csound/Makefile (1 diff)
csound/files/custom.py (1 diff)

Change Details

csound/Makefile
1313PKG_INSTALL:=1
1414
1515include $(INCLUDE_DIR)/package.mk
16include $(INCLUDE_DIR)/nls.mk
1617
1718define Package/csound
1819    TITLE:=Csound
1920    SECTION:=utils
2021    CATEGORY:=Utilities
2122    URL:=http://csounds.com/
22    DEPENDS:=@BROKEN
23    DEPENDS:=+libsndfile @BROKEN
2324endef
2425define Package/csound/description
2526Csound is a sound design, audio synthesis, and signal processing system, providing facilities for music composition and performance on all major operating systems and platforms. Its use is not restricted to any style of music, having been employed for many years in the creation of classical, pop, techno, ambient, experimental, and (of course) computer music, as well as music for film and television.
2627endef
2728
29define Build/Prepare
30    $(Build/Prepare/Default)
31    $(CP) $(FILES_DIR)/* $(PKG_BUILD_DIR)
32endef
33
34define Build/Compile
35    (cd $(PKG_BUILD_DIR) && $(MAKE_VARS) scons $(MAKE_FLAGS))
36endef
37
38define Build/Install
39endef
40
2841define Package/csound/install
2942    $(INSTALL_DIR) $(1)/usr/bin
3043endef
csound/files/custom.py
1'''
2Modify this file, by platform, to handle nonstandard options for third-party
3dependencies. If you do modify this file, you should make it read-only
4(or otherwise protect it) so that CVS will not overwrite it.
5
6Order is important: place local paths ahead of system paths.
7'''
8import sys
9import os
10
11customCPPPATH = []
12customCCFLAGS = []
13customCXXFLAGS = []
14customLIBS = []
15customLIBPATH = []
16customSHLINKFLAGS = []
17customSWIGFLAGS = []
18
19if sys.platform[:5] == 'linux':
20    platform = 'linux'
21    customCPPPATH.append(os.environ['LDFLAGS'])
22    customCCFLAGS.append(os.environ['CFLAGS'])
23    customCXXFLAGS.append(os.environ['CFLAGS'])
24    customLIBPATH.append(os.environ['LDFLAGS'])
25else:
26    platform = 'unsupported platform'
27

Archive Download the corresponding diff file



interactive