Root/liballegro-digmid/Makefile

Source at commit 1b3135c created 12 years 5 months ago.
By Xiangfu Liu, new package: SDL-widgets: a GUI toolkit on top of the SDL libraries
1#
2# Copyright (C) 2011 David Kuehling <dvdkhlng TA gmx TOD de>
3#
4# License GPLv2 or later. NO WARRANTY.
5#
6# Package 'freepats' digital instrument samples for use with liballegro's
7# 'digmid' software-synthesized midi driver
8
9include $(TOPDIR)/rules.mk
10
11PKG_NAME:=liballegro-digmid
12PKG_VERSION:=20060219
13PKG_RELEASE:=1
14PKG_SOURCE:=freepats-$(PKG_VERSION).tar.bz2
15PKG_SOURCE_URL:=http://freepats.zenvoid.org/
16PKG_MD5SUM:=b947806304bc559a644a2c06deda8404
17PKG_BUILD_DIR:=$(BUILD_DIR)/freepats
18
19# need liballegro host-tool 'pat2dat' for packaging the samples
20PKG_BUILD_DEPENDS:=liballegro/host
21
22include $(INCLUDE_DIR)/package.mk
23
24define Package/liballegro-digmid
25  SUBMENU:=Liballegro
26  SECTION:=libs
27  CATEGORY:=Libraries
28  TITLE:=Freepats data file for liballegro software MIDI playback
29  URL:=http://freepats.zenvoid.org/
30endef
31
32define Package/liballegro-digmid/description
33This package contains the freepats digital instrument samples packaged for
34use with liballegro\'s DIGMID software-synthesized midi driver
35endef
36
37
38define Build/Configure
39endef
40
41
42define Build/Compile
43    cd $(PKG_BUILD_DIR) && \
44    LD_LIBRARY_PATH="$(STAGING_DIR_HOST)/lib:$$$$LD_LIRARY_PATH" \
45    pat2dat -o -8 -c digmid.dat crude.cfg
46endef
47
48define Package/liballegro-digmid/install
49    $(INSTALL_DIR) $(1)/usr/share/allegro
50    $(CP) $(PKG_BUILD_DIR)/digmid.dat $(1)/usr/share/allegro
51endef
52
53$(eval $(call BuildPackage,liballegro-digmid))
54
55
56# The following comments configure the Emacs editor. Just ignore them.
57# Local Variables:
58# compile-command: "make -C ~/h/src/qi/openwrt-xburst package/liballegro-digmid/compile -j2 V=99"
59# End:
60

Archive Download this file



interactive