mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-22 11:43:08 +02:00
add gmenu2x Makefile - compiles, but binary nto working yet
Signed-off-by: Mirko Lindner <mirko@sharism.cc>
This commit is contained in:
parent
0414b660a8
commit
d0fb233594
81
gmenu2x/Makefile
Normal file
81
gmenu2x/Makefile
Normal file
@ -0,0 +1,81 @@
|
||||
#
|
||||
# Copyright (C) 2009 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:=gmenu2x
|
||||
PKG_VERSION:=20100215-2
|
||||
PKG_REV:=630fdd5de9bc4c6f601d0aea1b6ccbc22f9d8bdf
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=git://projects.qi-hardware.com/gmenu2x.git
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_SOURCE_VERSION:=$(PKG_REV)
|
||||
|
||||
PKG_INSTALL:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
TARGET_CFLAGS+= \
|
||||
-I$(STAGING_DIR)/usr/include/SDL \
|
||||
-I$(STAGING_DIR)/usr/include/google/sparsehash \
|
||||
-I$(PKG_BUILD_DIR)/src/tinyxml \
|
||||
|
||||
TARGET_CPPFLAGS+= \
|
||||
-I$(STAGING_DIR)/usr/include/SDL \
|
||||
-I$(STAGING_DIR)/usr/include/google/sparsehash \
|
||||
-I$(PKG_BUILD_DIR)/src/tinyxml \
|
||||
|
||||
# -I$(STAGING_DIR)/usr/lib/libintl/include \
|
||||
# -I$(STAGING_DIR)/usr/libiconv/include
|
||||
#
|
||||
TARGET_LDFLAGS+= \
|
||||
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
|
||||
-L$(STAGING_DIR)/usr/lib/SDL \
|
||||
|
||||
define Package/gmenu2x
|
||||
SECTION:=xorg-apps
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=app
|
||||
TITLE:=Gmenu2x
|
||||
URL:=http://projects.qi-hardware.com/index.php/p/gmenu2x/
|
||||
DEPENDS:=+libsdl +libsdl-image +libsdl-gfx +sparsehash
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
( cd $(PKG_BUILD_DIR); ./autogen.sh );
|
||||
$(call Build/Configure/Default)
|
||||
endef
|
||||
|
||||
define Package/gmenu2x/install
|
||||
$(INSTALL_DIR) \
|
||||
$(1)/usr/bin/ \
|
||||
$(1)/usr/share/gmenu2x/ \
|
||||
|
||||
$(INSTALL_BIN) \
|
||||
$(PKG_INSTALL_DIR)/usr/bin/gmenu2x \
|
||||
$(1)/usr/share/gmenu2x/
|
||||
|
||||
$(CP) \
|
||||
$(PKG_BUILD_DIR)/gmenu2x.sh \
|
||||
$(1)/usr/bin/gmenu2x
|
||||
|
||||
$(CP) \
|
||||
$(PKG_BUILD_DIR)/pandora/* \
|
||||
$(1)/usr/share/gmenu2x/
|
||||
#
|
||||
# $(INSTALL_DATA) \
|
||||
# $(PKG_INSTALL_DIR)/usr/share/gmenu2x/* \
|
||||
# $(1)/usr/share/gmenu2x/
|
||||
#
|
||||
# $(PKG_INSTALL_DIR)/usr/bin/gmenu2x \
|
||||
# $(1)/usr/bin
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,gmenu2x))
|
Loading…
Reference in New Issue
Block a user