2 # Copyright (C) 2015 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
:=https
://github.com
/savonet
/shine
/releases
/download
/$(PKG_VERSION
)/
16 PKG_MD5SUM
:=fcad8108335f4b051b303fbdf3fca3fe
19 PKG_LICENSE_FILES
:=COPYING
20 PKG_MAINTAINER
:=Nicolas Thill
<nico@openwrt.org
>
26 include $(INCLUDE_DIR
)/package.mk
31 TITLE
:=Super fast fixed-point MP3 encoder
32 URL
:=https
://github.com
/savonet
/shine
35 define Package
/shine
/description
36 savonet
/shine is a blazing fast mp3 encoding library implemented in fixed-point
37 arithmetic. The library can thus be used to perform super fast mp3 encoding on
38 architectures without a FPU
, such
as armel
, etc.. It is also
, however
, also
39 super fast on architectures with a FPU
!
42 define Build
/InstallDev
43 $(INSTALL_DIR
) $(1)/usr
/include
45 $(PKG_INSTALL_DIR
)/usr
/include/shine \
47 $(INSTALL_DIR
) $(1)/usr
/lib
49 $(PKG_INSTALL_DIR
)/usr
/lib
/libshine.
{a
,so
*} \
51 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
53 $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/shine.
pc \
54 $(1)/usr
/lib
/pkgconfig
/
57 define Package
/shine
/install
58 $(INSTALL_DIR
) $(1)/usr
/bin
59 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/shineenc
$(1)/usr
/bin
/
60 $(INSTALL_DIR
) $(1)/usr
/lib
61 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libshine.so.
* $(1)/usr
/lib
/
64 $(eval
$(call BuildPackage
,shine
))