[net] File Transfer: Moved old FTP category and combined with other file transfer...
[openwrt/svn-archive/archive.git] / libs / libsndfile / Makefile
1 #
2 # Copyright (C) 2007-2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=libsndfile
11 PKG_VERSION:=1.0.21
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://www.mega-nerd.com/libsndfile/files/
16 PKG_MD5SUM:=880a40ec636ab2185b97f8927299b292
17
18 PKG_FIXUP:=libtool
19 PKG_INSTALL:=1
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/libsndfile
24 SECTION:=libs
25 CATEGORY:=Libraries
26 TITLE:=Library for reading/writing audio files
27 URL:=http://www.mega-nerd.com/libsndfile/
28 DEPENDS:=@!avr32
29 endef
30
31 define Package/libsndfile/description
32 libsndfile is a library of C routines for reading and writing files
33 containing sampled audio data.
34 endef
35
36 CONFIGURE_ARGS+= \
37 --disable-alsa \
38 --disable-external-libs \
39 --disable-sqlite \
40 --disable-shave \
41
42 TARGET_CFLAGS += $(FPIC)
43
44 define Build/InstallDev
45 $(INSTALL_DIR) $(1)
46 $(CP) $(PKG_INSTALL_DIR)/* $(1)/
47 endef
48
49 define Package/libsndfile/install
50 $(INSTALL_DIR) $(1)/usr/lib
51 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libsndfile.so.* $(1)/usr/lib/
52 endef
53
54 $(eval $(call BuildPackage,libsndfile))