summaryrefslogtreecommitdiff
path: root/package/sispmctl/Makefile
blob: 2356a1654851cd33644789804bbbce61ba50438f (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 ${ADK_TOPDIR}/rules.mk

PKG_NAME:=		sispmctl
PKG_VERSION:=		3.0
PKG_RELEASE:=		1
PKG_HASH:=		8e3eab344df774330f7ca9e230f9b1d29afa82de63c099c0cf0bac4aa34dab64
PKG_DESCR:=		control application for power sockets
PKG_SECTION:=		sys/hw
PKG_DEPENDS:=		libusb libusb-compat
PKG_BUILDDEP:=		libusb libusb-compat
PKG_URL:=		http://sispmctl.sourceforge.net/
PKG_SITES:=		${MASTER_SITE_SOURCEFORGE:=sispmctl/}

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

include ${ADK_TOPDIR}/mk/package.mk

$(eval $(call PKG_template,SISPMCTL,sispmctl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CONFIGURE_ENV+=         ac_cv_func_malloc_0_nonnull=yes \
			ac_cv_func_realloc_0_nonnull=yes

sispmctl-install:
	${INSTALL_DIR} ${IDIR_SISPMCTL}/usr/bin
	${INSTALL_BIN} ${WRKINST}/usr/bin/sispmctl ${IDIR_SISPMCTL}/usr/bin

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