2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=@SF
/mad
17 PKG_MD5SUM
:=e5808ad997ba32c498803822078748c3
19 include $(INCLUDE_DIR
)/package.mk
21 define Package
/libid3tag
25 TITLE
:=An ID3 tag manipulation library
26 URL
:=http
://mad.sourceforge.net
/
29 define Package
/libid3tag
/description
30 libid3tag is a library for reading and
(eventually
) writing ID3
tags, both
31 ID3v1 and the various versions of ID3v2.
34 TARGET_CFLAGS
+= $(FPIC
)
36 define Build
/Configure
37 $(call Build
/Configure
/Default
, \
46 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
47 DESTDIR
="$(PKG_INSTALL_DIR)" \
51 define Build
/InstallDev
52 mkdir
-p
$(1)/usr
/include
53 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/id3tag.h
$(1)/usr
/include/
55 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libid3tag.
{a
,so
*} $(1)/usr
/lib
/
58 define Package
/libid3tag
/install
59 $(INSTALL_DIR
) $(1)/usr
/lib
60 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libid3tag.so.
* $(1)/usr
/lib
/
63 $(eval
$(call BuildPackage
,libid3tag
))