summaryrefslogtreecommitdiff
path: root/packages/aalib
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/aalib
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/aalib')
-rw-r--r--packages/aalib/.mtn2git_empty0
-rw-r--r--packages/aalib/aalib-1.4rc5/.mtn2git_empty0
-rw-r--r--packages/aalib/aalib-1.4rc5/configure.patch101
-rw-r--r--packages/aalib/aalib_1.4rc5.bb14
4 files changed, 115 insertions, 0 deletions
diff --git a/packages/aalib/.mtn2git_empty b/packages/aalib/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/aalib/.mtn2git_empty
diff --git a/packages/aalib/aalib-1.4rc5/.mtn2git_empty b/packages/aalib/aalib-1.4rc5/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/aalib/aalib-1.4rc5/.mtn2git_empty
diff --git a/packages/aalib/aalib-1.4rc5/configure.patch b/packages/aalib/aalib-1.4rc5/configure.patch
index e69de29bb2..7cbbbeb651 100644
--- a/packages/aalib/aalib-1.4rc5/configure.patch
+++ b/packages/aalib/aalib-1.4rc5/configure.patch
@@ -0,0 +1,101 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- aalib-1.4.0/configure.in~configure 2001-04-26 10:37:53.000000000 -0400
++++ aalib-1.4.0/configure.in 2004-01-23 12:50:44.000000000 -0500
+@@ -1,8 +1,7 @@
+-include(aclocal.m4)
+ AC_INIT(src/aalib.c)
+-AM_INIT_AUTOMAKE(aalib,1.4.0)
+-AC_CANONICAL_HOST
+ AC_CANONICAL_TARGET
++AC_CANONICAL_HOST
++AM_INIT_AUTOMAKE(aalib,1.4.0)
+
+ AM_CONFIG_HEADER(src/config.h)
+
+@@ -82,6 +81,20 @@
+ force_curses_driver=true
+ fi
+ ])
++AC_ARG_WITH(gpm,
++ [ --with-gpm Specifies whether or not to use gpm],[
++ if test x$withval = xyes
++ then
++ AC_DEFINE(GPM_MOUSEDRIVER)
++ gpm_mousedriver=true
++ AALIB_LIBS="$AALIB_LIBS -lgpm"
++ LIBS="$LIBS -lgpm"
++ else
++ gpm_mousedriver=false
++ fi
++ ]
++)
++if ! test x$gpm_mousedriver = xfalse; then
+ AC_ARG_WITH(gpm-mouse,
+ [ --with-gpm-mouse=base-dir Specifies the base gpm directory],
+ if test x$withval = xyes
+@@ -96,6 +109,7 @@
+ AC_MSG_RESULT(defining use_gpm)
+ fi
+ )
++fi
+
+ if test "$x_driver_test" = yes; then
+ AC_PATH_X
+@@ -126,7 +140,7 @@
+
+
+ search_ncurses=true
+-AC_DEFUN(AC_USE_SUNOS_CURSES, [
++AC_DEFUN([AC_USE_SUNOS_CURSES], [
+ search_ncurses=false
+ curses_driver=true
+ screen_manager="SunOS 4.x /usr/5include curses"
+@@ -140,7 +154,7 @@
+ AC_WARN(Reconsider using Slang)
+ ])
+
+-AC_DEFUN(AC_USE_OSF1_CURSES, [
++AC_DEFUN([AC_USE_OSF1_CURSES], [
+ AC_MSG_RESULT(Using OSF1 curses)
+ search_ncurses=false
+ curses_driver=true
+@@ -152,7 +166,7 @@
+ AALIB_LIBS="$AALIB_LIBS -lcurses"
+ ])
+
+-AC_DEFUN(AC_USE_SYSV_CURSES, [
++AC_DEFUN([AC_USE_SYSV_CURSES], [
+ AC_MSG_RESULT(Using SysV curses)
+ curses_driver=true
+ AC_DEFINE(USE_SYSV_CURSES)
+@@ -208,7 +222,7 @@
+ )
+
+ if test "$slang_driver_test" = yes; then
+- AC_DEFUN(AC_SLANG, [
++ AC_DEFUN([AC_SLANG], [
+ if $search_slang
+ then
+ if test -f $1/$2
+@@ -246,7 +260,7 @@
+ dnl
+ dnl Parameters: directory filename LIBS_append CFLAGS_append nicename
+ dnl
+-AC_DEFUN(AC_NCURSES, [
++AC_DEFUN([AC_NCURSES], [
+ if $search_ncurses
+ then
+ if test -f $1/$2
+@@ -274,7 +288,7 @@
+ dnl
+ dnl Parameters: directory filename LIBS_append CFLAGS_append nicename
+ dnl
+-AC_DEFUN(AC_CURSES, [
++AC_DEFUN([AC_CURSES], [
+ if $search_ncurses
+ then
+ if test -f $1/$2
diff --git a/packages/aalib/aalib_1.4rc5.bb b/packages/aalib/aalib_1.4rc5.bb
index e69de29bb2..1bea8a864d 100644
--- a/packages/aalib/aalib_1.4rc5.bb
+++ b/packages/aalib/aalib_1.4rc5.bb
@@ -0,0 +1,14 @@
+DEPENDS = "ncurses"
+DESCRIPTION = "An ASCII art gfx library."
+SECTION = "libs"
+LICENSE="LGPL"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/aa-project/aalib-${PV}.tar.gz \
+ file://configure.patch;patch=1"
+S = "${WORKDIR}/aalib-1.4.0"
+
+inherit autotools
+
+EXTRA_OECONF = '--without-x11-driver --without-slang-driver \
+ --with-curses-driver --without-gpm \
+ --without-x --with-ncurses=${STAGING_LIBDIR}/..'