1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
9 PKG_HASH
:= b64738f2fd6a28f6d659945282a4a95eeaaabb0a5867f8a87b8cceb01ce1d029
10 PKG_DESCR
:= display drivers
(serial
, parallel
, usb
)
11 PKG_SECTION
:= sys
/serial
12 PKG_DEPENDS
:= libusb-compat
13 PKG_BUILDDEP
:= libgd libusb-compat
14 PKG_URL
:= http
://serdisplib.sourceforge.net
15 PKG_SITES
:= ${MASTER_SITE_SOURCEFORGE
:=serdisplib
/}
17 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.gz
19 include ${ADK_TOPDIR}/mk
/package.mk
21 $(eval
$(call PKG_template
,SERDISPLIB
,serdisplib
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
23 INSTALL_STYLE
:= manual
25 CONFIGURE_ENV
+= PACKAGE_VERSION_MAJOR
=1 PACKAGE_VERSION_MINOR
=97
26 CONFIGURE_ARGS
+= --enable-libusb
27 TARGET_CFLAGS
+= ${TARGET_CPPFLAGS}
30 ${INSTALL_DIR} ${IDIR_SERDISPLIB}/usr
/lib
31 ${CP} ${WRKBUILD}/lib
/libserdisp.so
* ${IDIR_SERDISPLIB}/usr
/lib
33 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk