2010-02-18 13:10:21 +00:00
|
|
|
#
|
2006-07-23 12:59:39 +00:00
|
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=id3lib
|
|
|
|
PKG_VERSION:=3.8.3
|
2012-08-04 18:42:07 +00:00
|
|
|
PKG_RELEASE:=2
|
2006-07-23 12:59:39 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=@SF/id3lib
|
|
|
|
PKG_MD5SUM:=19f27ddd2dda4b2d26a559a4f0f402a7
|
|
|
|
|
2009-06-04 00:44:54 +00:00
|
|
|
PKG_FIXUP:=libtool-ucxx
|
2010-02-18 13:10:21 +00:00
|
|
|
PKG_INSTALL:=1
|
2007-12-27 02:12:04 +00:00
|
|
|
|
2012-08-04 18:42:07 +00:00
|
|
|
include $(INCLUDE_DIR)/uclibc++.mk
|
2006-07-23 12:59:39 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/id3lib
|
|
|
|
SECTION:=libs
|
|
|
|
CATEGORY:=Libraries
|
2012-08-04 18:42:07 +00:00
|
|
|
DEPENDS:=+zlib $(CXX_DEPENDS)
|
2006-07-23 12:59:39 +00:00
|
|
|
TITLE:=An ID3v1/ID3v2 tag manipulation library
|
|
|
|
URL:=http://www.id3lib.org/
|
|
|
|
endef
|
|
|
|
|
2008-08-06 22:43:15 +00:00
|
|
|
TARGET_CFLAGS += $(FPIC)
|
|
|
|
|
2007-09-03 16:09:57 +00:00
|
|
|
CONFIGURE_ARGS += \
|
|
|
|
--enable-shared \
|
2010-12-15 08:43:39 +00:00
|
|
|
--enable-static
|
2007-09-03 16:09:57 +00:00
|
|
|
|
2006-07-23 12:59:39 +00:00
|
|
|
define Build/InstallDev
|
2009-12-18 11:06:19 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/include
|
2007-10-07 03:20:26 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/id3 $(1)/usr/include/
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/id3.h $(1)/usr/include/
|
2009-12-18 11:06:19 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
2007-10-07 03:20:26 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libid3.{a,so} $(1)/usr/lib/
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libid3-*.so.* $(1)/usr/lib/
|
2006-07-23 12:59:39 +00:00
|
|
|
endef
|
|
|
|
|
2006-10-28 22:43:08 +00:00
|
|
|
define Package/id3lib/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/
|
2006-10-28 22:43:08 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libid3-*.so.* $(1)/usr/lib/
|
|
|
|
endef
|
|
|
|
|
2006-07-23 12:59:39 +00:00
|
|
|
$(eval $(call BuildPackage,id3lib))
|