summaryrefslogtreecommitdiff
path: root/package/setserial/Makefile
blob: 74e76b1a620e129e20f63d4e89127c8d57457d56 (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
# 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:=		serial
PKG_SITES:=		${MASTER_SITE_SOURCEFORGE:=setserial/}

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