2 # Copyright (C) 2006-2014 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
15 PKG_SOURCE_URL
:=https
://codeberg.org
/tenacityteam
/libid3tag.git
16 PKG_SOURCE_VERSION
:=$(PKG_VERSION
)
17 PKG_MIRROR_HASH
:=4007a88feaae11925ce96e4c020f0c7332e50d46e9b4f8f7fa77e856e1500959
19 PKG_MAINTAINER
:=Ted Hess
<thess@kitschensync.net
>
22 PKG_LICENSE_FILES
:=COPYING
23 PKG_CPE_ID
:=cpe
:/a
:media-libs
:libid3tag
25 CMAKE_BINARY_SUBDIR
:=openwrt-build
27 include $(INCLUDE_DIR
)/package.mk
28 include $(INCLUDE_DIR
)/cmake.mk
30 define Package
/libid3tag
34 TITLE
:=An ID3 tag manipulation library
35 URL
:=https
://codeberg.org
/tenacityteam
/libid3tag
38 define Package
/libid3tag
/description
39 libid3tag is a library for reading and
(eventually
) writing ID3
tags, both
40 ID3v1 and the various versions of ID3v2.
43 define Build
/InstallDev
44 $(INSTALL_DIR
) $(1)/usr
/include
45 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/id3tag.h
$(1)/usr
/include/
46 $(INSTALL_DIR
) $(1)/usr
/lib
47 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libid3tag.so
* $(1)/usr
/lib
/
48 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
/
49 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/id3tag.
pc $(1)/usr
/lib
/pkgconfig
/
52 define Package
/libid3tag
/install
53 $(INSTALL_DIR
) $(1)/usr
/lib
54 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libid3tag.so.
* $(1)/usr
/lib
/
57 $(eval
$(call BuildPackage
,libid3tag
))