[packages] igmpproxy: update to 0.1_beta5 (#5757)
[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 PKG_INSTALL:=1
19
20 IMAGE_FILE:=generic
21 ifeq ($(CONFIG_TARGET_s3c24xx),y)
22 IMAGE_FILE:=480x640
23 endif
24
25 include $(INCLUDE_DIR)/package.mk
26
27 define Package/psplash
28 SECTION:=utils
29 CATEGORY:=Utilities
30 DEPENDS:=@LINUX_2_6
31 TITLE:=A boot splash screen
32 URL:=http://projects.o-hand.com/psplash
33 endef
34
35 define Package/psplash/description
36 PSplash is a userspace graphical boot splash screen.
37 endef
38
39 define Build/Configure
40 $(CP) \
41 ./files/image_$(IMAGE_FILE).h \
42 $(PKG_BUILD_DIR)/psplash-owrt-img.h
43 $(call Build/Configure/Default)
44 endef
45
46 define Package/psplash/install
47 $(INSTALL_DIR) $(1)/bin $(1)/etc/init.d
48 $(CP) \
49 $(PKG_INSTALL_DIR)/usr/bin/psplash* \
50 $(1)/bin/
51 $(INSTALL_BIN) \
52 ./files/init \
53 $(1)/etc/init.d/psplash
54 endef
55
56 $(eval $(call BuildPackage,psplash))