mirror of
https://github.com/cazfi/meta-games.git
synced 2026-01-30 01:18:41 +01:00
freeciv: added initial versions of freeciv recipes.
Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
This commit is contained in:
59
recipes/freeciv/freeciv.inc
Normal file
59
recipes/freeciv/freeciv.inc
Normal file
@@ -0,0 +1,59 @@
|
||||
SUMMARY = "Turn-based strategy game inspired by the history of human civilization."
|
||||
DESCRIPTION = "Freeciv is distributed under the GPL and implemented for X. \
|
||||
Freeciv is a turn-based strategy game, in which \
|
||||
each player becomes leader of a civilization, fighting to obtain \
|
||||
the ultimate goal: The extinction of all other civilizations. \
|
||||
"
|
||||
|
||||
LICENSE = "GPL2+"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
|
||||
|
||||
SECTION = "games"
|
||||
|
||||
DEPENDS = "gtk+ readline"
|
||||
|
||||
SRC_URI = "${SOURCEFORGE_MIRROR}/freeciv/freeciv-${PV}.tar.gz"
|
||||
S = "${WORKDIR}/freeciv-${PV}"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
EXTRA_OECONF = "\
|
||||
--enable-shared --without-ggz-dir --enable-client=gtk2 \
|
||||
--with-sdl-prefix=${STAGING_BINDIR_CROSS} \
|
||||
"
|
||||
|
||||
PACKAGES =+ "${PN}-common ${PN}-server ${PN}-client-common ${PN}-gtk2"
|
||||
|
||||
RDEPENDS_${PN} = "freeciv-server freeciv-client"
|
||||
|
||||
FILES_${PN}-common = "\
|
||||
${libdir}/libfreeciv.so.0.0.0 \
|
||||
${libdir}/libfreeciv.so.0 \
|
||||
${datadir}/po \
|
||||
"
|
||||
|
||||
RDEPENDS_${PN}-server = "freeciv-common"
|
||||
FILES_${PN}-server = "\
|
||||
${bindir}/freeciv-server \
|
||||
${datadir}/freeciv/default \
|
||||
${datadir}/freeciv/default.serv \
|
||||
${datadir}/freeciv/nation \
|
||||
"
|
||||
|
||||
FILES_${PN}-client-common = "\
|
||||
${datadir}/freeciv/helpdata.txt \
|
||||
${datadir}/freeciv/flags \
|
||||
${datadir}/freeciv/misc \
|
||||
${datadir}/freeciv/amplio2.tilespec \
|
||||
${datadir}/freeciv/amplio2 \
|
||||
${datadir}/freeciv/stdsounds.soundspec \
|
||||
${datadir}/freeciv/stdsounds \
|
||||
"
|
||||
|
||||
RDEPENDS_${PN}-gtk2 = "freeciv-common freeciv-client-common"
|
||||
RPROVIDES_${PN}-gtk2 = "freeciv-client"
|
||||
FILES_${PN}-gtk2 = "\
|
||||
${bindir}/freeciv-gtk2 \
|
||||
${datadir}/freeciv/themes/gui-gtk-2.0 \
|
||||
${datadir}/freeciv/gtk_menus.xml \
|
||||
"
|
||||
12
recipes/freeciv/freeciv_2.3.2.bb
Normal file
12
recipes/freeciv/freeciv_2.3.2.bb
Normal file
@@ -0,0 +1,12 @@
|
||||
require freeciv.inc
|
||||
LICENSE = "GPLv2"
|
||||
|
||||
PR = "r0"
|
||||
|
||||
SRC_URI[md5sum] = "90d2c95a74398616b385bf6dbd1f813e"
|
||||
SRC_URI[sha256sum] = "15d886759a13a546985bf3e6824ca2dfbefb568f12d85ac63da06ff013d91f7a"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
|
||||
|
||||
acpaths = "-I ${S}/m4 -I ${S}/dependencies/m4"
|
||||
|
||||
Reference in New Issue
Block a user