2 # Copyright (C) 2007-2008 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.gz
15 PKG_SOURCE_URL
:=http
://developer.kde.org
/~wheeler
/files
/src
/
16 PKG_MD5SUM
:=dcd50ddb2544faeae77f194804559404
17 PKG_FIXUP
:=libtool-ucxx
19 include $(INCLUDE_DIR
)/package.mk
26 DEPENDS
:= +uclibcxx
+zlib @
!TARGET_avr32
27 TITLE
:=Audio output library
28 URL
:=http
://developer.kde.org
/~wheeler
/taglib.html
31 define Package
/taglibc
35 TITLE
:=Audio output library
36 URL
:=http
://developer.kde.org
/~wheeler
/taglib.html
39 TARGET_CFLAGS
+= $(FPIC
)
52 define Build
/InstallDev
53 $(INSTALL_DIR
) $(2)/bin
55 $(PKG_INSTALL_DIR
)/usr
/bin
/taglib-config \
58 's,^\(prefix\|exec_prefix\)=.*,\1=$(STAGING_DIR)/usr,g' \
59 $(2)/bin
/taglib-config
61 $(INSTALL_DIR
) $(1)/usr
/lib
63 $(PKG_INSTALL_DIR
)/usr
/lib
/libtag
{,_c
}.
{la
,a
,so
*} \
65 $(INSTALL_DIR
) $(1)/usr
/include/taglib
67 $(PKG_INSTALL_DIR
)/usr
/include/taglib
/* \
68 $(1)/usr
/include/taglib
/
71 define Package
/taglib
/install
72 $(INSTALL_DIR
) $(1)/usr
/lib
73 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libtag.so.
* $(1)/usr
/lib
/
76 define Package
/taglibc
/install
77 $(INSTALL_DIR
) $(1)/usr
/lib
78 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libtag_c.so.
* $(1)/usr
/lib
/
81 $(eval
$(call BuildPackage
,taglib
))
82 $(eval
$(call BuildPackage
,taglibc
))