2007-09-16 13:22:12 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2007 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=psplash
|
|
|
|
PKG_VERSION:=0.1
|
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=http://projects.o-hand.com/sources/psplash/
|
|
|
|
PKG_MD5SUM:=7649b7e0fac573eca2048a2a267e242b
|
|
|
|
|
2009-05-13 07:23:33 +00:00
|
|
|
PKG_INSTALL:=1
|
|
|
|
|
|
|
|
IMAGE_FILE:=generic
|
2009-05-13 11:33:29 +00:00
|
|
|
ifeq ($(CONFIG_TARGET_s3c24xx),y)
|
|
|
|
IMAGE_FILE:=480x640
|
|
|
|
endif
|
2009-05-13 07:23:33 +00:00
|
|
|
|
2007-09-16 13:22:12 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/psplash
|
|
|
|
SECTION:=utils
|
|
|
|
CATEGORY:=Utilities
|
2008-05-30 16:55:29 +00:00
|
|
|
DEPENDS:=@LINUX_2_6
|
2007-09-16 13:22:12 +00:00
|
|
|
TITLE:=A boot splash screen
|
|
|
|
URL:=http://projects.o-hand.com/psplash
|
|
|
|
endef
|
|
|
|
|
2007-10-14 04:32:56 +00:00
|
|
|
define Package/psplash/description
|
|
|
|
PSplash is a userspace graphical boot splash screen.
|
|
|
|
endef
|
|
|
|
|
2009-05-13 07:23:33 +00:00
|
|
|
define Build/Configure
|
|
|
|
$(CP) \
|
|
|
|
./files/image_$(IMAGE_FILE).h \
|
|
|
|
$(PKG_BUILD_DIR)/psplash-owrt-img.h
|
|
|
|
$(call Build/Configure/Default)
|
2007-09-16 13:22:12 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/psplash/install
|
2009-05-13 07:23:33 +00:00
|
|
|
$(INSTALL_DIR) $(1)/bin $(1)/etc/init.d
|
2007-09-16 13:22:12 +00:00
|
|
|
$(CP) \
|
2009-05-13 07:23:33 +00:00
|
|
|
$(PKG_INSTALL_DIR)/usr/bin/psplash* \
|
2007-09-16 13:22:12 +00:00
|
|
|
$(1)/bin/
|
2009-05-13 07:23:33 +00:00
|
|
|
$(INSTALL_BIN) \
|
|
|
|
./files/init \
|
|
|
|
$(1)/etc/init.d/psplash
|
2007-09-16 13:22:12 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,psplash))
|