diff options
author | Rene Wagner <rw@handhelds.org> | 2006-05-13 15:42:03 +0200 |
---|---|---|
committer | Rene Wagner <rw@handhelds.org> | 2006-05-13 15:42:03 +0200 |
commit | 5a5346dfbec459c10d9e61e16e125b83975a1ef1 (patch) | |
tree | 342e16f3fe790d03b93294344e6154459888939f /org.handhelds.familiar/packages/gpm |
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e35772d79306d1d9de19c12b23681618532d.
Diffstat (limited to 'org.handhelds.familiar/packages/gpm')
3 files changed, 77 insertions, 0 deletions
diff --git a/org.handhelds.familiar/packages/gpm/gpm-1.20.1/configure.patch b/org.handhelds.familiar/packages/gpm/gpm-1.20.1/configure.patch new file mode 100644 index 0000000..8088fba --- /dev/null +++ b/org.handhelds.familiar/packages/gpm/gpm-1.20.1/configure.patch @@ -0,0 +1,35 @@ + +# +# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher +# + +--- gpm-1.20.1/./configure.in~configure ++++ gpm-1.20.1/./configure.in +@@ -3,8 +3,9 @@ + dnl Process this file with autoconf to produce a configure script. + dnl written jan/1997 - T.E.Dickey <dickey@clark.net> + +-AC_INIT(src/gpm.c) +-AC_PREREQ(2.12) ++AC_INIT ++AC_CONFIG_SRCDIR([src/gpm.c]) ++AC_PREREQ(2.57) + AC_CONFIG_HEADER(src/headers/config.h) + + release=1.20.1 +@@ -82,7 +83,7 @@ + fi + + ITZ_SYS_ELF +-if test ${itz_cv_sys_elf} = yes && test x${ac_cv_prog_gcc} = xyes ; then ++if test ${itz_cv_sys_elf} = yes && test x${ac_cv_c_compiler_gnu} = xyes ; then + SHLIB=libgpm.so + else + SHLIB= +@@ -132,4 +133,5 @@ + + dnl AC_DEFINE_UNQUOTED(SYSCONFDIR,"$sysconfdir") + dnl AC_DEFINE_UNQUOTED(SBINDIR,"$sbindir") +-AC_OUTPUT(Makefile.include Makefile doc/Makefile src/Makefile contrib/Makefile doc/doc.gpm) ++AC_CONFIG_FILES([Makefile.include Makefile doc/Makefile src/Makefile contrib/Makefile doc/doc.gpm]) ++AC_OUTPUT diff --git a/org.handhelds.familiar/packages/gpm/gpm-1.20.1/no-docs.patch b/org.handhelds.familiar/packages/gpm/gpm-1.20.1/no-docs.patch new file mode 100644 index 0000000..d7fd7fe --- /dev/null +++ b/org.handhelds.familiar/packages/gpm/gpm-1.20.1/no-docs.patch @@ -0,0 +1,16 @@ + +# +# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher +# + +--- gpm-1.20.1/Makefile.in~no-docs 2002-12-24 23:57:16.000000000 +0100 ++++ gpm-1.20.1/Makefile.in 2004-03-26 00:39:38.000000000 +0100 +@@ -19,7 +19,7 @@ + # user-overridable flags, but it's also all the implicit rule looks at. + # missing ? + +-SUBDIRS = src doc contrib ++SUBDIRS = src + + ### simple, but effective rules + diff --git a/org.handhelds.familiar/packages/gpm/gpm_1.20.1.bb b/org.handhelds.familiar/packages/gpm/gpm_1.20.1.bb new file mode 100644 index 0000000..2ceea6f --- /dev/null +++ b/org.handhelds.familiar/packages/gpm/gpm_1.20.1.bb @@ -0,0 +1,26 @@ +SECTION = "console/utils" +LICENSE = "GPL" +DEPENDS = "ncurses" +DESCRIPTION = "GPM (General Purpose Mouse) is a mouse server \ +for the console and xterm, with sample clients included \ +(emacs, etc)." + +SRC_URI = "ftp://arcana.linux.it/pub/gpm/gpm-${PV}.tar.bz2 \ + file://configure.patch;patch=1 \ + file://no-docs.patch;patch=1" + +inherit autotools + +export LIBS = "-lm" +do_configure_prepend () { + cp aclocal.m4 acinclude.m4 +} + +do_stage () { + install -m 0644 src/headers/gpm.h ${STAGING_INCDIR}/ + oe_libinstall -so -a -C src/lib libgpm ${STAGING_LIBDIR} +} + +do_install () { + oe_runmake 'ROOT=${D}' install +} |