Makefile 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:= upower
  5. PKG_VERSION:= 0.99.0
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 14f43bc13353e23e7280863f33ac50d2
  8. PKG_DESCR:= powermanagement
  9. PKG_SECTION:= misc
  10. PKG_BUILDDEP:= glib dbus-glib polkit eudev
  11. PKG_DEPENDS:= glib dbus-glib polkit libgudev
  12. PKG_URL:= http://upower.freedesktop.org/
  13. PKG_SITES:= http://upower.freedesktop.org/releases/
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,UPOWER,upower,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIGURE_ARGS+= --without-systemdutildir \
  18. --disable-rpath
  19. upower-install:
  20. $(INSTALL_DIR) $(IDIR_UPOWER)/etc
  21. $(CP) $(WRKINST)/etc/* \
  22. $(IDIR_UPOWER)/etc
  23. $(INSTALL_DIR) $(IDIR_UPOWER)/usr/lib
  24. $(CP) $(WRKINST)/usr/lib/libupower*.so* \
  25. $(IDIR_UPOWER)/usr/lib
  26. $(INSTALL_DIR) $(IDIR_UPOWER)/usr/sbin
  27. $(INSTALL_BIN) $(WRKINST)/usr/libexec/upowerd \
  28. $(IDIR_UPOWER)/usr/sbin
  29. $(INSTALL_DIR) $(IDIR_UPOWER)/usr/bin
  30. $(INSTALL_BIN) $(WRKINST)/usr/bin/upower \
  31. $(IDIR_UPOWER)/usr/bin
  32. $(INSTALL_DIR) $(IDIR_UPOWER)/usr/share/dbus-1
  33. $(CP) $(WRKINST)/usr/share/dbus-1/* \
  34. $(IDIR_UPOWER)/usr/share/dbus-1
  35. include ${TOPDIR}/mk/pkg-bottom.mk