2 # Copyright (C) 2007-2014 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_HASH
:=0a7eb168e2f21353fb6d84da152e4512126f7dc48ccb0be80578c565413444c1
18 PKG_MAINTAINER
:=Ted Hess
<thess@kitschensync.net
>
21 PKG_LICENSE_FILES
:=COPYING
25 include $(INCLUDE_DIR
)/package.mk
27 define Package
/libsamplerate
31 TITLE
:=Sample Rate Converter
32 URL
:=http
://www.mega-nerd.com
/SRC
/index.html
35 define Package
/libsamplerate
/description
36 Secret Rabbit Code
(aka libsamplerate
) is a Sample Rate
40 TARGET_CFLAGS
+= $(FPIC
)
45 define Build
/InstallDev
47 $(CP
) $(PKG_INSTALL_DIR
)/* $(1)/
50 define Package
/libsamplerate
/install
51 $(INSTALL_DIR
) $(1)/usr
/lib
52 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libsamplerate.so.
* $(1)/usr
/lib
/
55 $(eval
$(call BuildPackage
,libsamplerate
))