mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-21 18:56:16 +02:00
csound: make some progress
This commit is contained in:
parent
bab2d7511f
commit
75ee508b77
@ -13,18 +13,31 @@ PKG_RELEASE:=1
|
||||
PKG_INSTALL:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/nls.mk
|
||||
|
||||
define Package/csound
|
||||
TITLE:=Csound
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
URL:=http://csounds.com/
|
||||
DEPENDS:=@BROKEN
|
||||
DEPENDS:=+libsndfile @BROKEN
|
||||
endef
|
||||
define Package/csound/description
|
||||
Csound 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.
|
||||
endef
|
||||
|
||||
define Build/Prepare
|
||||
$(Build/Prepare/Default)
|
||||
$(CP) $(FILES_DIR)/* $(PKG_BUILD_DIR)
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
(cd $(PKG_BUILD_DIR) && $(MAKE_VARS) scons $(MAKE_FLAGS))
|
||||
endef
|
||||
|
||||
define Build/Install
|
||||
endef
|
||||
|
||||
define Package/csound/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
endef
|
||||
|
27
csound/files/custom.py
Normal file
27
csound/files/custom.py
Normal file
@ -0,0 +1,27 @@
|
||||
'''
|
||||
Modify this file, by platform, to handle nonstandard options for third-party
|
||||
dependencies. If you do modify this file, you should make it read-only
|
||||
(or otherwise protect it) so that CVS will not overwrite it.
|
||||
|
||||
Order is important: place local paths ahead of system paths.
|
||||
'''
|
||||
import sys
|
||||
import os
|
||||
|
||||
customCPPPATH = []
|
||||
customCCFLAGS = []
|
||||
customCXXFLAGS = []
|
||||
customLIBS = []
|
||||
customLIBPATH = []
|
||||
customSHLINKFLAGS = []
|
||||
customSWIGFLAGS = []
|
||||
|
||||
if sys.platform[:5] == 'linux':
|
||||
platform = 'linux'
|
||||
customCPPPATH.append(os.environ['LDFLAGS'])
|
||||
customCCFLAGS.append(os.environ['CFLAGS'])
|
||||
customCXXFLAGS.append(os.environ['CFLAGS'])
|
||||
customLIBPATH.append(os.environ['LDFLAGS'])
|
||||
else:
|
||||
platform = 'unsupported platform'
|
||||
|
Loading…
Reference in New Issue
Block a user