source: packages/libs/libsndfile/Makefile @ 28065

Last change on this file since 28065 was 28065, checked in by loswillios, 5 years ago

[packages] libsndfile: update to 1.0.25

File size: 1.2 KB
Line 
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
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=libsndfile
11PKG_VERSION:=1.0.25
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=http://www.mega-nerd.com/libsndfile/files/
16PKG_MD5SUM:=e2b7bb637e01022c7d20f95f9c3990a2
17
18PKG_FIXUP:=libtool
19PKG_INSTALL:=1
20
21include $(INCLUDE_DIR)/package.mk
22
23define 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
29endef
30
31define Package/libsndfile/description
32 libsndfile is a library of C routines for reading and writing files
33 containing sampled audio data.
34endef
35
36CONFIGURE_ARGS+= \
37        --disable-alsa \
38        --disable-external-libs \
39        --disable-sqlite \
40        --disable-shave \
41
42TARGET_CFLAGS += $(FPIC)
43
44define Build/InstallDev
45        $(INSTALL_DIR) $(1)
46        $(CP) $(PKG_INSTALL_DIR)/* $(1)/
47endef
48
49define Package/libsndfile/install
50        $(INSTALL_DIR) $(1)/usr/lib
51        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libsndfile.so.* $(1)/usr/lib/
52endef
53
54$(eval $(call BuildPackage,libsndfile))
Note: See TracBrowser for help on using the repository browser.