2 # Copyright (C) 2007-2011 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
:=ddf02f4e1d2dc30f76734df806e613eb
18 include $(INCLUDE_DIR
)/uclibc
++.mk
19 include $(INCLUDE_DIR
)/package.mk
20 include $(INCLUDE_DIR
)/cmake.mk
27 DEPENDS
:= +uclibcxx
+zlib @
!TARGET_avr32
28 TITLE
:=Audio output library
29 URL
:=http
://developer.kde.org
/~wheeler
/taglib.html
32 define Package
/taglibc
36 TITLE
:=Audio output library
37 URL
:=http
://developer.kde.org
/~wheeler
/taglib.html
40 TARGET_CFLAGS
+= $(FPIC
)
42 define Build
/InstallDev
43 $(INSTALL_DIR
) $(2)/bin
45 $(PKG_INSTALL_DIR
)/usr
/bin
/taglib-config \
48 's,^\(prefix\|exec_prefix\)=.*,\1=$(STAGING_DIR)/usr,g' \
49 $(2)/bin
/taglib-config
51 $(INSTALL_DIR
) $(1)/usr
/lib
53 $(PKG_INSTALL_DIR
)/usr
/lib
/libtag
{,_c
}.so
* \
55 $(INSTALL_DIR
) $(1)/usr
/include/taglib
57 $(PKG_INSTALL_DIR
)/usr
/include/taglib
/* \
58 $(1)/usr
/include/taglib
/
61 define Package
/taglib
/install
62 $(INSTALL_DIR
) $(1)/usr
/lib
63 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libtag.so.
* $(1)/usr
/lib
/
66 define Package
/taglibc
/install
67 $(INSTALL_DIR
) $(1)/usr
/lib
68 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libtag_c.so.
* $(1)/usr
/lib
/
71 $(eval
$(call BuildPackage
,taglib
))
72 $(eval
$(call BuildPackage
,taglibc
))