diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-11 12:29:23 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-11 12:29:23 +0100 |
commit | 407f9b8fde3ad9cc55f39f7a548cde6056dab494 (patch) | |
tree | 0375ea8ddab3502bf6883066f43fc7e328d5c704 /package/upower | |
parent | 2ecefcf609e484d04d1546581191831e07ad71ec (diff) | |
parent | abb858ae43374dc13a5fcef19b9e0ba9442013bb (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/upower')
-rw-r--r-- | package/upower/Makefile | 42 | ||||
-rw-r--r-- | package/upower/patches/patch-Makefile_in | 20 |
2 files changed, 62 insertions, 0 deletions
diff --git a/package/upower/Makefile b/package/upower/Makefile new file mode 100644 index 000000000..adf317802 --- /dev/null +++ b/package/upower/Makefile @@ -0,0 +1,42 @@ +# 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:= upower +PKG_VERSION:= 0.99.0 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 14f43bc13353e23e7280863f33ac50d2 +PKG_DESCR:= powermanagement +PKG_SECTION:= misc +PKG_BUILDDEP:= glib dbus-glib polkit systemd +PKG_DEPENDS:= glib dbus-glib polkit libgudev +PKG_URL:= http://upower.freedesktop.org/ +PKG_SITES:= http://upower.freedesktop.org/releases/ + +PKG_LIBC_DEPENDS:= eglibc glibc + +DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,UPOWER,upower,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +CONFIGURE_ARGS+= --without-systemdutildir \ + --disable-rpath + +upower-install: + $(INSTALL_DIR) $(IDIR_UPOWER)/etc + $(CP) $(WRKINST)/etc/* \ + $(IDIR_UPOWER)/etc + $(INSTALL_DIR) $(IDIR_UPOWER)/usr/lib + $(CP) $(WRKINST)/usr/lib/libupower*.so* \ + $(IDIR_UPOWER)/usr/lib + $(INSTALL_DIR) $(IDIR_UPOWER)/usr/sbin + $(INSTALL_BIN) $(WRKINST)/usr/libexec/upowerd \ + $(IDIR_UPOWER)/usr/sbin + $(INSTALL_DIR) $(IDIR_UPOWER)/usr/bin + $(INSTALL_BIN) $(WRKINST)/usr/bin/upower \ + $(IDIR_UPOWER)/usr/bin + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/upower/patches/patch-Makefile_in b/package/upower/patches/patch-Makefile_in new file mode 100644 index 000000000..7709ee096 --- /dev/null +++ b/package/upower/patches/patch-Makefile_in @@ -0,0 +1,20 @@ +--- upower-0.99.0.orig/Makefile.in 2013-10-29 11:39:06.000000000 +0100 ++++ upower-0.99.0/Makefile.in 2014-01-10 17:09:06.000000000 +0100 +@@ -199,7 +199,7 @@ am__define_uniq_tagged_files = \ + ETAGS = etags + CTAGS = ctags + CSCOPE = cscope +-DIST_SUBDIRS = etc libupower-glib src doc tools po rules ++DIST_SUBDIRS = etc libupower-glib src tools po rules + DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) + distdir = $(PACKAGE)-$(VERSION) + top_distdir = $(distdir) +@@ -439,7 +439,7 @@ top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ + udevrulesdir = @udevrulesdir@ + ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} +-SUBDIRS = etc libupower-glib src doc tools po $(am__append_1) ++SUBDIRS = etc libupower-glib src tools po $(am__append_1) + EXTRA_DIST = \ + HACKING \ + ChangeLog |