summaryrefslogtreecommitdiff
path: root/package/pm-utils
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-12-01 22:42:20 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-12-01 22:42:20 +0100
commitd9730197219dda09ba7a0d5321c399e0d11d23e7 (patch)
tree25e92753ba3a5beeb2785fe9508bdafa11538ea2 /package/pm-utils
parentb252f7521306c28b8c46f3981cf4ea26d7993625 (diff)
fix ipkg and ipkg tools, consolidate mdev.conf
cpio under macosx or bsd creates tar archives via stdin while using find . with leading ./. heirloom cpio shipped with OpenADK does remove the leading ./. Adopt ipkg busybox applet to work without ./. Fix ipkg-build to be faster and to use included cpio for inner tar creation. Dependency to GNU tar can now be dropped.
Diffstat (limited to 'package/pm-utils')
-rw-r--r--package/pm-utils/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/package/pm-utils/Makefile b/package/pm-utils/Makefile
new file mode 100644
index 000000000..1ac1431dd
--- /dev/null
+++ b/package/pm-utils/Makefile
@@ -0,0 +1,29 @@
+# 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:= pm-utils
+PKG_VERSION:= 1.4.1
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 1742a556089c36c3a89eb1b957da5a60
+PKG_DESCR:= Power Management Utilities
+PKG_SECTION:= utils
+PKG_URL:= http://pm-utils.freedesktop.org/
+PKG_SITES:= http://pm-utils.freedesktop.org/releases/
+
+PKG_CFLINE_PM_UTILS:= select BUSYBOX_FLOCK
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,PM_UTILS,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+post-install:
+ $(INSTALL_DIR) $(IDIR_PM_UTILS)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/pm-utils \
+ $(IDIR_PM_UTILS)/usr/lib
+ $(INSTALL_DIR) $(IDIR_PM_UTILS)/usr/sbin
+ $(CP) $(WRKINST)/usr/sbin/pm-* \
+ $(IDIR_PM_UTILS)/usr/sbin
+
+include ${TOPDIR}/mk/pkg-bottom.mk