2 # Copyright (C) 2007-2009 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
10 PKG_NAME:=libsamplerate
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://www.mega-nerd.com/SRC/
16 PKG_MD5SUM:=ad093e60ec44f0a60de8e29983ddbc0f
19 PKG_REMOVE_FILES:=autogen.sh
23 include $(INCLUDE_DIR)/package.mk
25 define Package/libsamplerate
29 TITLE:=Sample Rate Converter
30 URL:=http://www.mega-nerd.com/SRC/index.html
33 define Package/libsamplerate/description
34 Secret Rabbit Code (aka libsamplerate) is a Sample Rate
38 TARGET_CFLAGS += $(FPIC)
43 define Build/InstallDev
45 $(CP) $(PKG_INSTALL_DIR)/* $(1)/
48 define Package/libsamplerate/install
49 $(INSTALL_DIR) $(1)/usr/lib
50 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libsamplerate.so.* $(1)/usr/lib/
53 $(eval $(call BuildPackage,libsamplerate))