summaryrefslogtreecommitdiff
path: root/package/setserial/Makefile
blob: 3693ea1def832326f8592ef538ea3e5c93f29df1 (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
# 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:=		setserial
PKG_VERSION:=		2.17
PKG_RELEASE:=		2
PKG_MD5SUM:=		c4867d72c41564318e0107745eb7a0f2
PKG_DESCR:=		configuration utility for serial ports
PKG_SECTION:=		sys/serial
PKG_SITES:=		${MASTER_SITE_SOURCEFORGE:=setserial/}
PKG_BB:=		1

DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.gz

include ${TOPDIR}/mk/package.mk

$(eval $(call PKG_template,SETSERIAL,setserial,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

INSTALL_STYLE:=         manual
TARGET_CPPFLAGS+=	-DFIOQSIZE=1

do-install:
	${INSTALL_DIR} ${IDIR_SETSERIAL}/usr/sbin
	${INSTALL_BIN} ${WRKBUILD}/setserial ${IDIR_SETSERIAL}/usr/sbin/

include ${TOPDIR}/mk/pkg-bottom.mk