2011-05-25 13:26:54 +03:00
|
|
|
#
|
2011-05-26 16:26:18 +03:00
|
|
|
# Copyright (C) 2011 Xiangfu Liu <xiangfu@sharism.cc>
|
|
|
|
# bitcoin: 1CGeqFzCZnAPEEcigr8LzmWTqf8cvo8toW
|
2011-05-25 13:26:54 +03:00
|
|
|
#
|
|
|
|
# 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
|
2011-05-26 16:26:18 +03:00
|
|
|
PKG_RELEASE:=2
|
2011-05-25 13:26:54 +03:00
|
|
|
|
2011-05-26 16:26:18 +03:00
|
|
|
PKG_SOURCE:=dega-$(PKG_VERSION)-NanoNote-Edition.tar.gz
|
2011-05-25 13:26:54 +03:00
|
|
|
PKG_SOURCE_URL:=@SF/dega
|
2011-05-26 16:26:18 +03:00
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/dega-$(PKG_VERSION)
|
2011-06-17 11:27:27 +03:00
|
|
|
PKG_MD5SUM:=e070eea91fee9c65d1cece0bf39d488f
|
2011-05-25 13:26:54 +03:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
TARGET_CFLAGS+= -I$(STAGING_DIR)/usr/include/SDL
|
|
|
|
|
|
|
|
TARGET_LDFLAGS+= -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
|
2012-03-28 22:08:27 +03:00
|
|
|
-lSDL -lSDL -ldirectfb -lfusion -lm
|
2011-05-25 13:26:54 +03:00
|
|
|
|
2011-05-26 16:26:18 +03:00
|
|
|
define Package/dega
|
2011-05-25 13:26:54 +03:00
|
|
|
MAINTAINER:="Xiangfu Liu" <xiangfu@sharism.cc>
|
|
|
|
SECTION:=games
|
|
|
|
CATEGORY:=Games
|
|
|
|
TITLE:=dega
|
|
|
|
URL:=http://dega.sourceforge.net/
|
|
|
|
DEPENDS:=+libsdl
|
|
|
|
endef
|
|
|
|
|
2011-05-26 16:26:18 +03:00
|
|
|
define Package/dega/description
|
2011-05-25 13:26:54 +03:00
|
|
|
a emulator for sega master system and game gear which uses SDL
|
|
|
|
endef
|
|
|
|
|
2011-05-29 17:59:19 +03:00
|
|
|
define Build/Patch
|
|
|
|
chmod -R 755 $(PKG_BUILD_DIR)
|
|
|
|
$(call Build/Patch/Default)
|
|
|
|
endef
|
|
|
|
|
2011-05-26 16:26:18 +03:00
|
|
|
define Package/dega/install
|
2011-05-25 13:26:54 +03:00
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/dega $(1)/usr/bin/
|
|
|
|
endef
|
|
|
|
|
2011-05-26 16:26:18 +03:00
|
|
|
$(eval $(call BuildPackage,dega))
|