blob: 7c849820a540e28ce556f34e238889b77b75207f (
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:= sysfsutils
PKG_VERSION:= 2.1.0
PKG_RELEASE:= 3
PKG_HASH:= e865de2c1f559fff0d3fc936e660c0efaf7afe662064f2fb97ccad1ec28d208a
PKG_DESCR:= utilites built upon sysfs
PKG_SECTION:= sys/utils
PKG_URL:= http://linux-diag.sourceforge.net/Sysfsutils.html
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=linux-diag/sysfsutils/2.1.0/}
PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,SYSFSUTILS,sysfsutils,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
sysfsutils-install:
$(INSTALL_DIR) $(IDIR_SYSFSUTILS)/usr/bin
$(INSTALL_DIR) $(IDIR_SYSFSUTILS)/usr/lib
$(CP) $(WRKINST)/usr/lib/libsysfs.so* \
$(IDIR_SYSFSUTILS)/usr/lib
$(INSTALL_BIN) $(WRKINST)/usr/bin/systool \
$(IDIR_SYSFSUTILS)/usr/bin
include ${ADK_TOPDIR}/mk/pkg-bottom.mk
|