Add alsa state files for the neo freerunner.
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 24 Jan 2009 01:22:20 +0000 (01:22 +0000)
committerLars-Peter Clausen <lars@metafoo.de>
Sat, 24 Jan 2009 01:22:20 +0000 (01:22 +0000)
SVN-Revision: 14161

phone/freerunner-alsa-scenarios/Makefile [new file with mode: 0644]

diff --git a/phone/freerunner-alsa-scenarios/Makefile b/phone/freerunner-alsa-scenarios/Makefile
new file mode 100644 (file)
index 0000000..08e3b28
--- /dev/null
@@ -0,0 +1,44 @@
+#
+# Copyright (C) 2009 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=freerunner-alsa-scenarios
+PKG_VERSION:=20090124
+PKG_REV:=4900
+PKG_RELEASE:=1
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
+PKG_SOURCE_URL:=http://svn.openmoko.org/trunk/src/target/audio/om-gta02
+PKG_SOURCE_PROTO:=svn
+PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
+PKG_SOURCE_VERSION:=$(PKG_REV)
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/freerunner-alsa-scenarios
+  SECTION:=phone
+  CATEGORY:=Phone
+  TITLE:=alsa audio scenarios for the openmoko neo freefreerunner
+endef
+
+define Build/Configure
+       true
+endef
+
+define Build/Compile
+       true
+endef
+
+define Package/freerunner-alsa-scenarios/install
+       $(INSTALL_DIR) $(1)/etc/alsa/scenarios
+       $(INSTALL_DATA) \
+               $(PKG_BUILD_DIR)/*.state \
+               $(1)/etc/alsa/scenarios/
+endef
+
+$(eval $(call BuildPackage,freerunner-alsa-scenarios))