74 lines
1.5 KiB
Makefile
74 lines
1.5 KiB
Makefile
#
|
|
# Copyright (C) 2007-2016 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:=libmgeff
|
|
PKG_VERSION:=1.2.0
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
PKG_BUILD_DIR:=$(COMPILE_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
|
PKG_SOURCE_URL:=http://www.minigui.org/downloads/
|
|
PKG_MD5SUM:=01f69fe75d38e8cf258b1bc4752f20f6
|
|
|
|
PKG_BUILD_PARALLEL:=1
|
|
PKG_INSTALL:=1
|
|
CMAKE_INSTALL:=1
|
|
|
|
include $(BUILD_DIR)/package.mk
|
|
|
|
define Package/libmgeff
|
|
SECTION:=gui
|
|
CATEGORY:=Minigui
|
|
DEPENDS:= +libminigui-gpl +libmgplus
|
|
TITLE:=libmgeff
|
|
MAINTAINER:=tracewong <tracewong@outlook.com>
|
|
URL:=http://www.minigui.org/
|
|
endef
|
|
|
|
define Package/libmgeff/description
|
|
mGEff provides an animation framework for
|
|
MiniGUI application. It also provides some
|
|
popular UI/UE special effects.
|
|
endef
|
|
|
|
define Build/Prepare
|
|
$(call Build/Prepare/Default)
|
|
(cd $(PKG_BUILD_DIR) && ./autogen.sh)
|
|
endef
|
|
|
|
CONFIGURE_ARGS += \
|
|
MINIGUI_LIBS=$(STAGING_DIR)/usr/lib
|
|
|
|
define Build/InstallDev
|
|
$(INSTALL_DIR) $(1)/usr/include/
|
|
$(CP) \
|
|
$(PKG_INSTALL_DIR)/usr/include/mgeff \
|
|
$(1)/usr/include/
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
|
|
$(INSTALL_DATA) \
|
|
$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/mgeff.pc \
|
|
$(1)/usr/lib/pkgconfig/
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/
|
|
$(CP) \
|
|
$(PKG_INSTALL_DIR)/usr/lib/*.so* \
|
|
$(1)/usr/lib/
|
|
|
|
endef
|
|
|
|
define Package/libmgeff/install
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
$(CP) \
|
|
$(PKG_INSTALL_DIR)/usr/lib/*.so* \
|
|
$(1)/usr/lib/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,libmgeff))
|