1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- # Recipe file for freeciv.
- #
- # Maintainers: (C) 2016 Mateus P. Rodrigues, mprodrigues@dragora.org.
- #
- # Under the terms of the GNU General Public License.
- program=freeciv
- version=2.5.5
- release=1
- description="
- Freeciv is a free turn-based multiplayer strategy game, in which each
- player becomes the leader of a civilization, fighting to obtain the
- ultimate goal: To become the greatest civilization.
- "
- homepage=http://jim.tcl.tk
- license=BSD
- tarname=${program}-${version}.tar.bz2
- # Remote source(s)
- fetch="http://download.gna.org/freeciv/stable/freeciv-2.5.5.tar.bz2"
- # Parallel jobs for the compiler
- jobs=1
- # Source documentation
- docs="ABOUT-NLS AUTHORS COPYING NEWS README"
- build() {
- unpack "${tardir}/$tarname"
- cd "$srcdir"
- ./configure CFLAGS="$QICFLAGS" LDFLAGS="$QILDFLAGS"
- make -j${jobs}
- make -j${jobs} install DESTDIR="$destdir"
- # Copy documentation
- mkdir -p "${destdir}/usr/local/share/doc/${program}-${version}"
- cp -p $docs "${destdir}/usr/local/share/doc/${program}-${version}/"
- }
|