Date:2011-05-25 12:26:54 (7 years 7 months ago)
Author:Xiangfu Liu
Commit:938af2cf451b482628dd8b618092d86b6f0cb12c
Message:[new package] dega: a emulator for sega master system and game gear which uses SDL

Files: dega/Makefile (1 diff)

Change Details

dega/Makefile
1#
2# Copyright (C) 2010 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=dega
11PKG_VERSION:=1.14
12PKG_RELEASE:=1
13
14PKG_SOURCE:=degap-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=@SF/dega
16PKG_BUILD_DIR:=$(BUILD_DIR)/degap-$(PKG_VERSION)
17
18include $(INCLUDE_DIR)/package.mk
19
20TARGET_CFLAGS+= -I$(STAGING_DIR)/usr/include/SDL
21
22TARGET_LDFLAGS+= -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
23        -lSDL -lSDL -ldirectfb -lfusion
24
25define Package/degap
26    MAINTAINER:="Xiangfu Liu" <xiangfu@sharism.cc>
27    SECTION:=games
28    CATEGORY:=Games
29    TITLE:=dega
30    URL:=http://dega.sourceforge.net/
31    DEPENDS:=+libsdl
32endef
33
34define Package/degap/description
35a emulator for sega master system and game gear which uses SDL
36endef
37
38define Package/degap/install
39    $(INSTALL_DIR) $(1)/usr/bin
40    $(INSTALL_BIN) $(PKG_BUILD_DIR)/dega $(1)/usr/bin/
41endef
42
43$(eval $(call BuildPackage,degap))

Archive Download the corresponding diff file



interactive