2 # Copyright (C) 2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
11 PKG_REV
:=30e0767cd45fe63f06055488407388dc8446b763
12 PKG_VERSION
:=$(PKG_REV
)
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=git
://git.bu3sch.de
/pwrtray.git
18 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
19 PKG_SOURCE_VERSION
:=$(PKG_REV
)
23 include $(INCLUDE_DIR
)/package.mk
25 define Package
/pwrtray
30 URL
:=http
://bu3sch.de
/gitweb?p
=pwrtray.git
;a
=summary
34 define Package
/pwrtray
/description
35 Tiny power control tray application.
39 -I
$(PKG_BUILD_DIR
)/moc
42 -Wl
,-rpath-link
=$(STAGING_DIR
)/usr
/lib \
46 MOC
="$(STAGING_DIR_HOST)/bin/moc" \
52 define Package
/pwrtray
/install
53 $(INSTALL_DIR
) $(1)/usr
/bin
$(1)/usr
/share
54 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/pwrtray
$(1)/usr
/bin
/
55 $(CP
) $(PKG_INSTALL_DIR
)/usr
/share
/pwrtray
$(1)/usr
/share
/
58 $(eval
$(call BuildPackage
,pwrtray
))