freeciv: added initial versions of freeciv recipes.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
This commit is contained in:
Marko Lindqvist
2012-05-14 13:49:32 +03:00
parent 0c3680f708
commit 6b7b45fe2c
2 changed files with 71 additions and 0 deletions

View 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 \
"

View 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"