memtester: add -q option
[openwrt/svn-archive/archive.git] / utils / psplash / Makefile
1 #
2 # Copyright (C) 2007 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=psplash
12 PKG_VERSION:=0.1
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=http://projects.o-hand.com/sources/psplash/
17 PKG_MD5SUM:=7649b7e0fac573eca2048a2a267e242b
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/psplash
22 SECTION:=utils
23 CATEGORY:=Utilities
24 DEPENDS:=@LINUX_2_6_X86
25 TITLE:=A boot splash screen
26 URL:=http://projects.o-hand.com/psplash
27 endef
28
29 define Package/psplash/description
30 PSplash is a userspace graphical boot splash screen.
31 endef
32
33
34 define Build/Compile
35 $(MAKE) -C $(PKG_BUILD_DIR) \
36 DESTDIR="$(PKG_INSTALL_DIR)" \
37 all install
38 endef
39
40 define Package/psplash/install
41 $(INSTALL_DIR) $(1)/bin
42 $(CP) \
43 $(PKG_INSTALL_DIR)/usr/bin/psplash \
44 $(PKG_INSTALL_DIR)/usr/bin/psplash-write \
45 $(1)/bin/
46 endef
47
48
49 $(eval $(call BuildPackage,psplash))