Category reorganization
[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 DESCRIPTION:=PSplash is a userspace graphical boot splash screen.
27 URL:=http://projects.o-hand.com/psplash
28 endef
29
30
31 define Build/Compile
32 $(MAKE) -C $(PKG_BUILD_DIR) \
33 DESTDIR="$(PKG_INSTALL_DIR)" \
34 all install
35 endef
36
37 define Package/psplash/install
38 $(INSTALL_DIR) $(1)/bin
39 $(CP) \
40 $(PKG_INSTALL_DIR)/usr/bin/psplash \
41 $(PKG_INSTALL_DIR)/usr/bin/psplash-write \
42 $(1)/bin/
43 endef
44
45
46 $(eval $(call BuildPackage,psplash))