summaryrefslogtreecommitdiff
path: root/package/serdisplib
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/serdisplib
Initial import
Diffstat (limited to 'package/serdisplib')
-rw-r--r--package/serdisplib/Config.in10
-rw-r--r--package/serdisplib/Makefile28
-rw-r--r--package/serdisplib/ipkg/serdisplib.control4
-rw-r--r--package/serdisplib/patches/patch-Makefile_in12
-rw-r--r--package/serdisplib/patches/patch-configure22
-rw-r--r--package/serdisplib/patches/patch-src_Makefile_in12
6 files changed, 88 insertions, 0 deletions
diff --git a/package/serdisplib/Config.in b/package/serdisplib/Config.in
new file mode 100644
index 000000000..2755f66d8
--- /dev/null
+++ b/package/serdisplib/Config.in
@@ -0,0 +1,10 @@
+config ADK_PACKAGE_SERDISPLIB
+ prompt "serdisplib........................ a library for controlling displays"
+ tristate
+ default n
+ help
+ serdisplib is a library to drive serial and parallel displays
+ with built-in controllers.
+
+ http://serdisplib.sourceforge.net/
+
diff --git a/package/serdisplib/Makefile b/package/serdisplib/Makefile
new file mode 100644
index 000000000..785be76e1
--- /dev/null
+++ b/package/serdisplib/Makefile
@@ -0,0 +1,28 @@
+# $Id$
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+
+PKG_NAME:= serdisplib
+PKG_VERSION:= 1.97.3
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 52e4714d6a955c4d023a5ae52b2d36d8
+MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=serdisplib/}
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,SERDISPLIB,serdisplib,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE:= gnu
+CONFIGURE_ARGS+= --enable-libusb
+CONFIGURE_ENV+= ac_cv_func_malloc_0_nonnull=yes
+BUILD_STYLE:= auto
+TCFLAGS+= ${TCPPFLAGS}
+
+do-install:
+ ${INSTALL_DIR} ${IDIR_SERDISPLIB}/usr/lib
+ ${CP} ${WRKBUILD}/lib/libserdisp.so.* ${IDIR_SERDISPLIB}/usr/lib
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/serdisplib/ipkg/serdisplib.control b/package/serdisplib/ipkg/serdisplib.control
new file mode 100644
index 000000000..3fcddcc70
--- /dev/null
+++ b/package/serdisplib/ipkg/serdisplib.control
@@ -0,0 +1,4 @@
+Package: serdisplib
+Priority: optional
+Section: libs
+Description: A library for controlling displays
diff --git a/package/serdisplib/patches/patch-Makefile_in b/package/serdisplib/patches/patch-Makefile_in
new file mode 100644
index 000000000..91ccdb872
--- /dev/null
+++ b/package/serdisplib/patches/patch-Makefile_in
@@ -0,0 +1,12 @@
+$Id$
+--- serdisplib-1.97.3.orig/Makefile.in 2006-03-25 23:58:20.000000000 +0100
++++ serdisplib-1.97.3/Makefile.in 2007-02-21 23:28:24.000000000 +0100
+@@ -19,7 +19,7 @@ CC = @CC@
+ MAKE=@MAKE@
+
+
+-subdirs = src tools
++subdirs = src
+
+
+ all:
diff --git a/package/serdisplib/patches/patch-configure b/package/serdisplib/patches/patch-configure
new file mode 100644
index 000000000..aaf687695
--- /dev/null
+++ b/package/serdisplib/patches/patch-configure
@@ -0,0 +1,22 @@
+$Id$
+--- serdisplib-1.97.3.orig/configure 2007-02-15 23:24:51.000000000 +0100
++++ serdisplib-1.97.3/configure 2007-05-23 00:00:41.000000000 +0200
+@@ -2644,18 +2644,6 @@ echo "${ECHO_T}no" >&6
+ fi
+
+
+-# split version information
+-PACKAGE_VERSION_TEMP=${PACKAGE_VERSION/\./\ }
+-PACKAGE_VERSION_MAJOR=${PACKAGE_VERSION_TEMP/\ *}
+-PACKAGE_VERSION_MINTEMP=${PACKAGE_VERSION_TEMP/*\ }
+-if test "${PACKAGE_VERSION_TEMP/*\.*/\.}" = "\."; then
+- PACKAGE_VERSION_MINOR=${PACKAGE_VERSION_MINTEMP/\.*}
+- PACKAGE_VERSION_SUBMINOR=${PACKAGE_VERSION_MINTEMP/*\.}
+-else
+- PACKAGE_VERSION_MINOR=$PACKAGE_VERSION_MINTEMP
+- PACKAGE_VERSION_SUBMINOR=""
+-fi
+-
+
+
+
diff --git a/package/serdisplib/patches/patch-src_Makefile_in b/package/serdisplib/patches/patch-src_Makefile_in
new file mode 100644
index 000000000..08a980b6a
--- /dev/null
+++ b/package/serdisplib/patches/patch-src_Makefile_in
@@ -0,0 +1,12 @@
+$Id$
+--- serdisplib-1.97.3.orig/src/Makefile.in 2007-02-15 23:24:41.000000000 +0100
++++ serdisplib-1.97.3/src/Makefile.in 2007-02-21 23:25:04.000000000 +0100
+@@ -75,7 +75,7 @@ endif
+
+ .SUFFIXES : .c .o
+
+-all: libraries programs
++all: libraries
+
+ libraries: library.static library.shared
+