8c9a508135b08b9e0d38ede5fd1417fc5f4a3ccd
[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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=psplash
11 PKG_VERSION:=0.1
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://projects.o-hand.com/sources/psplash/
16 PKG_MD5SUM:=7649b7e0fac573eca2048a2a267e242b
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/psplash
21 SECTION:=utils
22 CATEGORY:=Utilities
23 DEPENDS:=@LINUX_2_6
24 TITLE:=A boot splash screen
25 URL:=http://projects.o-hand.com/psplash
26 endef
27
28 define Package/psplash/description
29 PSplash is a userspace graphical boot splash screen.
30 endef
31
32
33 define Build/Compile
34 $(MAKE) -C $(PKG_BUILD_DIR) \
35 DESTDIR="$(PKG_INSTALL_DIR)" \
36 all install
37 endef
38
39 define Package/psplash/install
40 $(INSTALL_DIR) $(1)/bin
41 $(CP) \
42 $(PKG_INSTALL_DIR)/usr/bin/psplash \
43 $(PKG_INSTALL_DIR)/usr/bin/psplash-write \
44 $(1)/bin/
45 endef
46
47
48 $(eval $(call BuildPackage,psplash))