2 # Copyright (C) 2006-2016 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
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
15 PKG_SOURCE_URL
:=@GNOME
/$(PKG_NAME
)/0.3
16 PKG_MD5SUM
:=ea2449ad3f201ec590d811db9da6d02ffc5e87a677d06b92ab15363d8cb59782
18 PKG_MAINTAINER
:=Ted Hess
<thess@kitschensync.net
>
23 include $(INCLUDE_DIR
)/package.mk
25 define Package
/libaudiofile
28 TITLE
:=Audio File library
29 URL
:=http
://audiofile
.68k.org
/
30 DEPENDS
:=+libflac
+libstdcpp
33 define Package
/libaudiofile
/description
34 The audiofile library allows the processing of audio data to and from audio
35 files of many common formats
(currently AIFF
, AIFF-C
, WAVE
, NeXT
/Sun
, BICS
,
36 FLAC
, ALAC
, and raw data
).
43 --with-build-cc
="$(HOSTCC)"
45 TARGET_CFLAGS
+= $(FPIC
)
47 define Build
/InstallDev
48 $(INSTALL_DIR
) $(1)/usr
/include
50 $(PKG_INSTALL_DIR
)/usr
/include/{af_vfs
,audiofile
,aupvlist
}.h \
53 $(INSTALL_DIR
) $(1)/usr
/lib
55 $(PKG_INSTALL_DIR
)/usr
/lib
/libaudiofile.
{la
,a
,so
*} \
58 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
60 $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/audiofile.
pc \
61 $(1)/usr
/lib
/pkgconfig
/
64 define Package
/libaudiofile
/install
65 $(INSTALL_DIR
) $(1)/usr
/lib
67 $(PKG_INSTALL_DIR
)/usr
/lib
/libaudiofile.so.
* \
71 $(eval
$(call BuildPackage
,libaudiofile
))