summaryrefslogtreecommitdiff
path: root/package/sysfsutils
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-21 17:25:35 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-21 17:25:35 +0200
commit98b7adfbd06f0f6bd99ca4805ca34250ee027fa1 (patch)
treea68345ba8ba7ee532e4b7426cadad31d7add24c0 /package/sysfsutils
parent09d28322f4828a387eeee03d303c833eab8828c5 (diff)
parent32a82e38679501da738199135b35f93ddc8aca0a (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/sysfsutils')
-rw-r--r--package/sysfsutils/Makefile16
1 files changed, 4 insertions, 12 deletions
diff --git a/package/sysfsutils/Makefile b/package/sysfsutils/Makefile
index dd4384628..370f2b9ba 100644
--- a/package/sysfsutils/Makefile
+++ b/package/sysfsutils/Makefile
@@ -5,22 +5,19 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= sysfsutils
PKG_VERSION:= 2.1.0
-PKG_RELEASE:= 2
+PKG_RELEASE:= 3
PKG_MD5SUM:= 14e7dcd0436d2f49aa403f67e1ef7ddc
PKG_DESCR:= utilites built upon sysfs
PKG_SECTION:= utils
PKG_URL:= http://linux-diag.sourceforge.net/Sysfsutils.html
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=linux-diag/sysfsutils/2.1.0/}
-
-PKG_SUBPKGS:= SYSFSUTILS SYSFSUTILS_DEV
-PKGSC_SYSFSUTILS_DEV:= devel
+PKG_OPTS:= dev
include $(TOPDIR)/mk/package.mk
-$(eval $(call PKG_template,SYSFSUTILS,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,SYSFSUTILS_DEV,sysfsutils-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKGSC_SYSFSUTILS_DEV}))
+$(eval $(call PKG_template,SYSFSUTILS,sysfsutils,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-post-install:
+sysfsutils-install:
$(INSTALL_DIR) $(IDIR_SYSFSUTILS)/usr/bin
$(INSTALL_DIR) $(IDIR_SYSFSUTILS)/usr/lib
$(CP) $(WRKINST)/usr/lib/libsysfs.so* \
@@ -28,9 +25,4 @@ post-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/systool \
$(IDIR_SYSFSUTILS)/usr/bin
-sysfsutils-dev-install:
- $(INSTALL_DIR) $(IDIR_SYSFSUTILS_DEV)/usr/include
- $(CP) $(WRKINST)/usr/include/* \
- $(IDIR_SYSFSUTILS_DEV)/usr/include
-
include ${TOPDIR}/mk/pkg-bottom.mk