summaryrefslogtreecommitdiff
path: root/package/pm-utils/Makefile
blob: 1ac1431ddeb43b0be3820a5999c08a9c0b1956ae (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
# 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