summaryrefslogtreecommitdiff
path: root/package/serdisplib/Makefile
blob: e49d1e224ff54df8be0b60ccbd2600ee41a060d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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.8
PKG_RELEASE:=		1
PKG_BUILDDEP+=		libgd libusb
PKG_MD5SUM:=		2aa91c43d01d2dfc9fbc1116e3063ae1
PKG_DESCR:=		display drivers (serial, parallel, USB)
PKG_SECTION:=		misc
PKG_URL:=		http://serdisplib.sourceforge.net
PKG_SITES:=		${MASTER_SITE_SOURCEFORGE:=serdisplib/}

include ${TOPDIR}/mk/package.mk

$(eval $(call PKG_template,SERDISPLIB,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CONFIGURE_ENV+=		PACKAGE_VERSION_MAJOR=1 PACKAGE_VERSION_MINOR=97
CONFIGURE_STYLE:=	gnu
CONFIGURE_ARGS+=	--enable-libusb
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