Date:2012-03-11 20:45:24 (8 years 3 months ago)
Author:Jiri Brozovsky
Commit:61ec12813152a387ebbbff425c191e84febeac9f
Message:The classic Dope Wars game. It needs to use the ash(default) terminal to fit the screen). It is GPL-licensed.

Files: dopewars/Makefile (1 diff)

Change Details

dopewars/Makefile
1include $(TOPDIR)/rules.mk
2
3PKG_NAME:=dopewars
4PKG_VERSION:=1.5.12
5
6PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
7PKG_SOURCE_URL:=http://downloads.sourceforge.net/dopewars/
8PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
9
10PKG_INSTALL:=1
11
12include $(INCLUDE_DIR)/package.mk
13include $(INCLUDE_DIR)/nls.mk
14
15define Package/dopewars/Default
16    SECTION:=games
17    CATEGORY:=Games
18    TITLE:=DopeWars
19endef
20
21define Package/dopewars/description
22    Drug selling game. Needs more porting to fit the Ben screen better but now at least works.
23endef
24
25define Package/dopewars
26    $(call Package/dopewars/Default)
27    DEPENDS:=$(ICONV_DEPENDS) $(INTL_DEPENDS) +libgconf2 +gtk2 +libstdcpp +libsigcxx
28endef
29
30
31TARGET_LDFLAGS+= -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
32
33#CONFIGURE_CMD =./autogen.sh
34CONFIGURE_ARGS += \
35    --disable-dependency-tracking \
36    --disable-libtool-lock \
37    --without-esd \
38    --without-sdl \
39    --disable-gui-server \
40    --disable-nls \
41    --disable-gui-client \
42    --without-nls \
43    --disable-server \
44    --disable-networking
45
46define Package/dopewars/install
47    $(INSTALL_DIR) \
48        $(1)/usr/bin \
49        $(1)/usr/share/pixmaps
50
51    $(INSTALL_BIN) \
52        $(PKG_INSTALL_DIR)/usr/bin/dopewars \
53        $(1)/usr/bin/
54
55    $(INSTALL_DATA) \
56        $(PKG_INSTALL_DIR)/usr/share/pixmaps/dopewars-weed.png \
57        $(1)/usr/share/pixmaps/
58endef
59
60$(eval $(call BuildPackage,dopewars))

Archive Download the corresponding diff file



interactive