mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-25 17:54:39 +02:00
45 lines
1.0 KiB
Makefile
45 lines
1.0 KiB
Makefile
#
|
|
# Copyright (C) 2011 Xiangfu Liu <xiangfu@sharism.cc>
|
|
# bitcoin: 1CGeqFzCZnAPEEcigr8LzmWTqf8cvo8toW
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=dega
|
|
PKG_VERSION:=1.14
|
|
PKG_RELEASE:=2
|
|
|
|
PKG_SOURCE:=dega-$(PKG_VERSION)-NanoNote-Edition.tar.gz
|
|
PKG_SOURCE_URL:=@SF/dega
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/dega-$(PKG_VERSION)
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
TARGET_CFLAGS+= -I$(STAGING_DIR)/usr/include/SDL
|
|
|
|
TARGET_LDFLAGS+= -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
|
|
-lSDL -lSDL -ldirectfb -lfusion
|
|
|
|
define Package/dega
|
|
MAINTAINER:="Xiangfu Liu" <xiangfu@sharism.cc>
|
|
SECTION:=games
|
|
CATEGORY:=Games
|
|
TITLE:=dega
|
|
URL:=http://dega.sourceforge.net/
|
|
DEPENDS:=+libsdl
|
|
endef
|
|
|
|
define Package/dega/description
|
|
a emulator for sega master system and game gear which uses SDL
|
|
endef
|
|
|
|
define Package/dega/install
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/dega $(1)/usr/bin/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,dega))
|