summaryrefslogtreecommitdiff
path: root/package/sysfsutils
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-07-16 19:27:11 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-07-16 19:27:11 +0200
commit57f9ca1aa63375be959afcf70d287c871e6d8d33 (patch)
tree3adf8ceabbe3cb653162db9bdde7811de1c008d7 /package/sysfsutils
parent935b72f91744c691306cf2cd685b893fe23c6a7e (diff)
add devel subpackage
Diffstat (limited to 'package/sysfsutils')
-rw-r--r--package/sysfsutils/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/package/sysfsutils/Makefile b/package/sysfsutils/Makefile
index 33bc0b905..dd4384628 100644
--- a/package/sysfsutils/Makefile
+++ b/package/sysfsutils/Makefile
@@ -5,16 +5,20 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= sysfsutils
PKG_VERSION:= 2.1.0
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
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
+
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}))
post-install:
$(INSTALL_DIR) $(IDIR_SYSFSUTILS)/usr/bin
@@ -24,4 +28,9 @@ 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