Ticket #7253: id3lib.patch

File id3lib.patch, 1.2 KB (added by sav, 8 years ago)

Not build id3lib. Patch included

  • Makefile

    diff -durN id3lib.old/Makefile id3lib/Makefile
    old new  
    1515PKG_SOURCE_URL:=@SF/id3lib 
    1616PKG_MD5SUM:=19f27ddd2dda4b2d26a559a4f0f402a7 
    1717 
    18 PKG_FIXUP:=libtool-ucxx 
    1918PKG_INSTALL:=1 
    2019 
    2120include $(INCLUDE_DIR)/package.mk 
     
    2322define Package/id3lib 
    2423  SECTION:=libs 
    2524  CATEGORY:=Libraries 
    26   DEPENDS:=+zlib +uclibcxx 
     25  DEPENDS:=+zlib +libstdcpp 
    2726  TITLE:=An ID3v1/ID3v2 tag manipulation library 
    2827  URL:=http://www.id3lib.org/ 
    2928endef 
     
    3433        --enable-shared \ 
    3534        --disable-static 
    3635 
    37 #CONFIGURE_VARS += \ 
    38         CXXFLAGS="$$$$CXXFLAGS -fno-builtin -fno-rtti"  \ 
    39         LIBS="-nodefaultlibs -lz -luClibc++ -Wl,-Bstatic,-lstdc++,-Bdynamic -lm" \ 
    40  
    4136define Build/InstallDev 
    4237        $(INSTALL_DIR) $(1)/usr/include 
    4338        $(CP) $(PKG_INSTALL_DIR)/usr/include/id3 $(1)/usr/include/ 
    4439        $(CP) $(PKG_INSTALL_DIR)/usr/include/id3.h $(1)/usr/include/ 
    4540        $(INSTALL_DIR) $(1)/usr/lib 
    46         $(CP) $(PKG_INSTALL_DIR)/usr/lib/libid3.{a,so} $(1)/usr/lib/ 
     41        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libid3.so $(1)/usr/lib/ 
    4742        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libid3-*.so.* $(1)/usr/lib/ 
    4843endef 
    4944