OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
| 1 | include $(TOPDIR)/rules.mk |
| 2 | |
| 3 | PKG_NAME:=dopewars |
| 4 | PKG_VERSION:=1.5.12 |
| 5 | |
| 6 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
| 7 | PKG_SOURCE_URL:=http://downloads.sourceforge.net/dopewars/ |
| 8 | PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) |
| 9 | |
| 10 | PKG_INSTALL:=1 |
| 11 | |
| 12 | include $(INCLUDE_DIR)/package.mk |
| 13 | include $(INCLUDE_DIR)/nls.mk |
| 14 | |
| 15 | define Package/dopewars/Default |
| 16 | SECTION:=games |
| 17 | CATEGORY:=Games |
| 18 | TITLE:=DopeWars |
| 19 | endef |
| 20 | |
| 21 | define Package/dopewars/description |
| 22 | Drug selling game. Needs more porting to fit the Ben screen better but now at least works. |
| 23 | endef |
| 24 | |
| 25 | define Package/dopewars |
| 26 | $(call Package/dopewars/Default) |
| 27 | DEPENDS:=$(ICONV_DEPENDS) $(INTL_DEPENDS) +libgconf2 +gtk2 +libstdcpp +libsigcxx |
| 28 | endef |
| 29 | |
| 30 | |
| 31 | TARGET_LDFLAGS+= -Wl,-rpath-link=$(STAGING_DIR)/usr/lib |
| 32 | |
| 33 | #CONFIGURE_CMD =./autogen.sh |
| 34 | CONFIGURE_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 | |
| 46 | define 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/ |
| 58 | endef |
| 59 | |
| 60 | $(eval $(call BuildPackage,dopewars)) |
| 61 |
