Root/sarien/Makefile

1# Copyright (C) 2010 OpenWrt.org
2#
3# This is free software, licensed under the GNU General Public License v2.
4#
5
6include $(TOPDIR)/rules.mk
7PKG_NAME:=sarien
8PKG_VERSION:=0.7.0
9PKG_RELEASE:=1
10PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
11PKG_SOURCE_URL:=@SF/$(PKG_NAME)
12PKG_CAT:=zcat
13PKG_BUILD_DIR:=$(BUILD_DIR)/sarien-$(PKG_VERSION)
14
15include $(INCLUDE_DIR)/package.mk
16
17define Package/sarien
18    TITLE:=Sarien
19    SECTION:=games
20    CATEGORY:=Games
21    DEPENDS:=@BROKEN +libsdl
22    URL:=http://sourceforge.net/projects/sarien/
23endef
24
25define Package/sarien/description
26    Sarien is a portable implementation of the Sierra On-Line Adventure Game Interpreter (AGI)
27endef
28
29MAKE_ARGS += ipkg
30CONFIGURE_ARGS += --with-sdl --with-alsa
31
32define Package/sarien/Build/Compile
33    $(call Build/Compile/Default)
34endef
35
36define Package/sarien/install
37    $(INSTALL_DIR) $(1)/usr/bin
38    $(INSTALL_DIR) $(1)/usr/share/sarien
39    $(INSTALL_BIN) $(PKG_INSTALL_DIR)/bin/sarien $(1)/sarien
40    $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/sarien.cfg $(1)/usr/share/sarien/sarien.cfg
41endef
42
43$(eval $(call BuildPackage,sarien))
44

Archive Download this file



interactive