Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bacher09/darkplaces-rcon
Rcon client for darkplaces
https://github.com/bacher09/darkplaces-rcon
darkplaces haskell nexuiz rcon-client xonotic
Last synced: 2 months ago
JSON representation
Rcon client for darkplaces
- Host: GitHub
- URL: https://github.com/bacher09/darkplaces-rcon
- Owner: bacher09
- Created: 2015-02-18T11:31:09.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2022-07-06T18:30:14.000Z (over 2 years ago)
- Last Synced: 2024-11-06T13:58:02.037Z (2 months ago)
- Topics: darkplaces, haskell, nexuiz, rcon-client, xonotic
- Language: Haskell
- Size: 732 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
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 packagesAlso 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-utilIf 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
[Haskell platform]: https://www.haskell.org/platform/
[GHC]: https://www.haskell.org/ghc/
[Alex]: https://www.haskell.org/alex/
[drcon]: ./darkplaces-rcon-util/README.md