summaryrefslogtreecommitdiff
path: root/packages/plinciv
diff options
context:
space:
mode:
Diffstat (limited to 'packages/plinciv')
-rw-r--r--packages/plinciv/.mtn2git_empty0
-rw-r--r--packages/plinciv/plinciv-0.16/.mtn2git_empty0
-rw-r--r--packages/plinciv/plinciv-0.16/configure.patch13
-rw-r--r--packages/plinciv/plinciv_0.16.bb17
4 files changed, 30 insertions, 0 deletions
diff --git a/packages/plinciv/.mtn2git_empty b/packages/plinciv/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/plinciv/.mtn2git_empty
diff --git a/packages/plinciv/plinciv-0.16/.mtn2git_empty b/packages/plinciv/plinciv-0.16/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/plinciv/plinciv-0.16/.mtn2git_empty
diff --git a/packages/plinciv/plinciv-0.16/configure.patch b/packages/plinciv/plinciv-0.16/configure.patch
index e69de29bb2..91bb6475d1 100644
--- a/packages/plinciv/plinciv-0.16/configure.patch
+++ b/packages/plinciv/plinciv-0.16/configure.patch
@@ -0,0 +1,13 @@
+diff -urN freeciv-1.14.1.orig/configure.ac freeciv-1.14.1/configure.ac
+--- freeciv-1.14.1.orig/configure.ac 2003-12-02 13:56:54.000000000 -0500
++++ freeciv-1.14.1/configure.ac 2004-03-24 00:01:25.000000000 -0500
+@@ -139,6 +139,9 @@
+
+ AC_CHECK_PROG(UNAME,uname,uname,:)
+
++ARFLAGS=${ARFLAGS:-cru}
++AC_SUBST(ARFLAGS)
++
+ dnl Programs already checked by AM_INIT_AUTOMAKE:
+ dnl AC_PROG_MAKE_SET
+
diff --git a/packages/plinciv/plinciv_0.16.bb b/packages/plinciv/plinciv_0.16.bb
index e69de29bb2..3627c1ae75 100644
--- a/packages/plinciv/plinciv_0.16.bb
+++ b/packages/plinciv/plinciv_0.16.bb
@@ -0,0 +1,17 @@
+LICENSE = GPL
+SECTION = "x11/games"
+DEPENDS = "gtk+"
+DESCRIPTION = "Embedded version of a popular FreeCiv game"
+
+SRC_URI = "ftp://ftp.freeciv.org/freeciv/stable/freeciv-1.14.1.tar.bz2 \
+ http://gregorr.homelinux.org/plinciv/FC1.14.1-PC0.16.diff.gz;patch=1 \
+ file://configure.patch;patch=1"
+
+inherit autotools
+
+EXTRA_OECONF = "--enable-client=gtk2 --disable-esd --disable-winmm --disable-sdl-mixer"
+
+S = "${WORKDIR}/freeciv-1.14.1"
+
+FILES_${PN} = "${bindir} \
+ ${datadir}/freeciv"