Popularity
3.4
Growing
Activity
0.0
Stable
4
3
1

Monthly Downloads: 4
Programming language: Haskell
License: GNU General Public License v2.0 only
Tags: Game     Darkplaces    
Latest version: v0.1.1

darkplaces-rcon alternatives and similar packages

Based on the "darkplaces" category.
Alternatively, view darkplaces-rcon alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of darkplaces-rcon or a related project?

Add another 'darkplaces' Package

README

This is meta repository for haskell packages that's related to darkplaces or quakes rcon protocol. Currently it contains these packages:

  • darkplaces-rcon — library for darkplaces rcon protocol
  • [darkplaces-rcon-util][drcon] — client rcon utility

Building from sources

These instructions will assume that you want to build all repos hosted in this meta-repo. First you need to install these tools:

  • GHC >= 7.4 (recommended GHC >= 7.8)
  • cabal-install — haskell package manager
  • Alex — haskell lexer generator (same thing as C's lex)
  • C compliller — required for compiling some dependent packages

Also you can choose easy way and install Haskell Platform that contains all these components (except C compiler).

Now you may create build folder, clone repo and some depended repo's and build packages.

$ mkdir build && cd build
$ export BUILD_DIR=$(pwd)
$ git clone https://github.com/bacher09/darkplaces-rcon.git
$ git clone https://github.com/bacher09/darkplaces-text.git
$ cabal sandbox init
$ cabal sandbox add-source $BUILD_DIR/darkplaces-rcon/darkplaces-text/
$ cabal sandbox add-source $BUILD_DIR/darkplaces-rcon/darkplaces-rcon/
$ cabal sandbox add-source $BUILD_DIR/darkplaces-rcon/darkplaces-rcon-util/

After this commands you will see folder .cabal-sandbox and file cabal.sandbox.config. Folder .cabal-sandbox is place where packages and binaries will be installed after build. Now you can build and install these packages.

$ cabal install darkplaces-rcon
$ cabal install darkplaces-rcon-util

If you want to reinstall package you can add --reinstall flag to cabal.

$ cabal install --reinstall darkplaces-rcon-util

You can find binary in .cabal-sanbox/bin/ folder. If you'd like to call drcon util without providing full path you can add it to yours PATH environment variable.

$ export PATH=$BUILD_DIR/.cabal-sandbox/bin/:$PATH