2008-09-12 22:23:24 +00:00
|
|
|
#
|
2009-03-03 10:31:57 +00:00
|
|
|
# Copyright (C) 2007-2009 OpenWrt.org
|
2007-05-15 08:53:19 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=libmpcdec
|
2008-11-28 17:39:34 +00:00
|
|
|
PKG_VERSION:=1.2.6
|
2009-03-03 10:31:57 +00:00
|
|
|
PKG_RELEASE:=3
|
2007-05-15 08:53:19 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
|
|
|
PKG_SOURCE_URL:=http://files.musepack.net/source/
|
2008-11-28 17:39:34 +00:00
|
|
|
PKG_MD5SUM:=7f7a060e83b4278acf4b77d7a7b9d2c0
|
2008-09-12 22:23:24 +00:00
|
|
|
PKG_FIXUP:=libtool
|
2007-05-15 08:53:19 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
2008-09-12 22:23:24 +00:00
|
|
|
PKG_INSTALL=1
|
|
|
|
|
2007-05-15 08:53:19 +00:00
|
|
|
define Package/libmpcdec
|
|
|
|
SECTION:=libs
|
|
|
|
CATEGORY:=Libraries
|
|
|
|
TITLE:=Musepack decoder library
|
|
|
|
URL:=http://www.musepack.net
|
|
|
|
endef
|
|
|
|
|
2007-10-14 04:32:56 +00:00
|
|
|
define Package/libmpcdec/description
|
|
|
|
Musepack decoder library
|
|
|
|
endef
|
|
|
|
|
2009-05-31 23:02:15 +00:00
|
|
|
TARGET_CFLAGS += $(FPIC)
|
2007-05-15 08:53:19 +00:00
|
|
|
|
|
|
|
define Build/InstallDev
|
2008-09-12 22:23:24 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/include/mpcdec/
|
|
|
|
$(INSTALL_DATA) \
|
|
|
|
$(PKG_INSTALL_DIR)/usr/include/mpcdec/*.h \
|
|
|
|
$(1)/usr/include/mpcdec/
|
|
|
|
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
2009-01-04 00:06:33 +00:00
|
|
|
$(CP) \
|
|
|
|
$(PKG_INSTALL_DIR)/usr/lib/*.{so*,a,la} \
|
2008-09-12 22:23:24 +00:00
|
|
|
$(1)/usr/lib/
|
2007-05-15 08:53:19 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/libmpcdec/install
|
2008-09-12 22:23:24 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
2009-01-04 00:06:33 +00:00
|
|
|
$(CP) \
|
|
|
|
$(PKG_INSTALL_DIR)/usr/lib/libmpcdec.so* \
|
2008-09-12 22:23:24 +00:00
|
|
|
$(1)/usr/lib/
|
2007-05-15 08:53:19 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,libmpcdec))
|