OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
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 | |
9 | include $(TOPDIR)/rules.mk |
10 | |
11 | PKG_NAME:=liballegro-digmid |
12 | PKG_VERSION:=20060219 |
13 | PKG_RELEASE:=1 |
14 | PKG_SOURCE:=freepats-$(PKG_VERSION).tar.bz2 |
15 | PKG_SOURCE_URL:=http://freepats.zenvoid.org/ |
16 | PKG_MD5SUM:=b947806304bc559a644a2c06deda8404 |
17 | PKG_BUILD_DIR:=$(BUILD_DIR)/freepats |
18 | |
19 | # need liballegro host-tool 'pat2dat' for packaging the samples |
20 | PKG_BUILD_DEPENDS:=liballegro/host |
21 | |
22 | include $(INCLUDE_DIR)/package.mk |
23 | |
24 | define 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/ |
30 | endef |
31 | |
32 | define Package/liballegro-digmid/description |
33 | This package contains the freepats digital instrument samples packaged for |
34 | use with liballegro\'s DIGMID software-synthesized midi driver |
35 | endef |
36 | |
37 | |
38 | define Build/Configure |
39 | endef |
40 | |
41 | |
42 | define 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 |
46 | endef |
47 | |
48 | define Package/liballegro-digmid/install |
49 | $(INSTALL_DIR) $(1)/usr/share/allegro |
50 | $(CP) $(PKG_BUILD_DIR)/digmid.dat $(1)/usr/share/allegro |
51 | endef |
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 |