fix typo, proto should be protocol
[openwrt.git] / package / ps3-utils / Makefile
1 #
2 # Copyright (C) 2008 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:=ps3-utils
12 PKG_VERSION:=2.2.0
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=http://www.kernel.org/pub/linux/kernel/people/geoff/cell/ps3-utils/
17 PKG_MD5SUM:=92b24e57af516d339fe05f6bf7f36848
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/ps3-utils
22 SECTION:=utils
23 CATEGORY:=Utilities
24 TITLE:=PS3 Linux Utilities
25 DEPENDS:=@TARGET_ps3
26 URL:=http://kernel.org/pub/linux/kernel/people/geoff/cell/ps3-utils/
27 endef
28
29 define Build/Configure
30 $(call Build/Configure/Default)
31 endef
32
33 define Build/Compile
34 $(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" all install
35 endef
36
37 define Package/ps3-utils/install
38 $(INSTALL_DIR) $(1)/usr/sbin
39 $(INSTALL_DIR) $(1)/usr/bin
40 $(INSTALL_DIR) $(1)/usr/lib
41
42 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/ps3-boot-game-os $(1)/usr/sbin
43 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/ps3-dump-bootloader $(1)/usr/sbin
44 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/ps3-flash-util $(1)/usr/sbin
45 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ps3-video-mode $(1)/usr/bin
46
47 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libps3-utils.so.* $(1)/usr/lib
48 endef
49
50 $(eval $(call BuildPackage,ps3-utils))
This page took 0.058347 seconds and 5 git commands to generate.