Ignore:
Timestamp:
2010-04-19T09:27:34+02:00 (7 years ago)
Author:
nico
Message:

[packages] libaudiofile: update to 0.2.7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/libs/libaudiofile/Makefile

    r15247 r21020  
    11# 
    2 # Copyright (C) 2006-2008 OpenWrt.org 
     2# Copyright (C) 2006-2010 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    88include $(TOPDIR)/rules.mk 
    99 
    10 PKG_NAME:=libaudiofile 
    11 PKG_VERSION:=0.2.6 
    12 PKG_RELEASE:=2 
     10PKG_NAME:=audiofile 
     11PKG_VERSION:=0.2.7 
     12PKG_RELEASE:=1 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
    15 PKG_SOURCE_URL:=http://www.cti.ecp.fr/~beauxir5/peercast 
    16 PKG_MD5SUM:=460f848ce5f4a33ae66b15a4fb7720ec 
     15PKG_SOURCE_URL:= \ 
     16        http://github.com/downloads/mpruett/audiofile/ \ 
     17        http://www.68k.org/~michael/audiofile/ 
     18PKG_MD5SUM:=a39be317a7b1971b408805dc5e371862 
     19 
    1720PKG_FIXUP:=libtool 
     21PKG_INSTALL=1 
    1822 
    1923include $(INCLUDE_DIR)/package.mk 
    20  
    21 PKG_INSTALL=1 
    2224 
    2325define Package/libaudiofile 
     
    2931 
    3032define Package/libaudiofile/description 
    31         The audiofile library allows the processing of audio data to and from audio  
    32         files of many common formats (currently AIFF, AIFF-C, WAVE, NeXT/Sun, BICS,  
    33         and raw data). 
     33 The audiofile library allows the processing of audio data to and from audio  
     34 files of many common formats (currently AIFF, AIFF-C, WAVE, NeXT/Sun, BICS,  
     35 and raw data). 
    3436endef 
    3537 
    36 TARGET_CFLAGS += $(FPIC) 
     38CONFIGURE_ARGS+= \ 
     39        --enable-shared \ 
     40        --enable-static \ 
     41        --with-build-cc="$(HOSTCC)" \ 
    3742 
    38 define Build/Configure 
    39         $(call Build/Configure/Default, \ 
    40                 --enable-shared \ 
    41                 --enable-static \ 
    42                 --with-build-cc="$(HOSTCC)" \ 
    43         ) 
    44 endef 
     43TARGET_CFLAGS+= $(FPIC) -std=c99 
    4544 
    4645define Build/InstallDev 
    4746        $(INSTALL_DIR) $(2)/bin 
    48         $(INSTALL_BIN) \ 
     47        $(CP) \ 
    4948                $(PKG_INSTALL_DIR)/usr/bin/audiofile-config \ 
    5049                $(2)/bin/ 
     
    5453 
    5554        $(INSTALL_DIR) $(1)/usr/include 
    56         $(INSTALL_DATA) \ 
     55        $(CP) \ 
    5756                $(PKG_INSTALL_DIR)/usr/include/{af_vfs,audiofile,aupvlist}.h \ 
    5857                $(1)/usr/include/ 
     
    6463 
    6564        $(INSTALL_DIR) $(1)/usr/lib/pkgconfig 
    66         $(INSTALL_DATA) \ 
     65        $(CP) \ 
    6766                $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/audiofile.pc \ 
    6867                $(1)/usr/lib/pkgconfig/ 
Note: See TracChangeset for help on using the changeset viewer.