[package] prevent kmod-switch from accessing nvram on brcm63xx (#5035)
[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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=ps3-utils
11 PKG_VERSION:=2.3
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=http://www.kernel.org/pub/linux/kernel/people/geoff/cell/ps3-utils/
16 PKG_MD5SUM:=d0b24527a8582c9ff5be02c62bb2161d
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/ps3-utils
21 SECTION:=utils
22 CATEGORY:=Utilities
23 TITLE:=PS3 Linux Utilities
24 DEPENDS:=@TARGET_ps3||TARGET_ps3chk
25 URL:=http://kernel.org/pub/linux/kernel/people/geoff/cell/ps3-utils/
26 endef
27
28 define Package/ps3-utils/description
29 The ps3-utils package is a set of system administration utilites for the
30 PS3 game console.
31 endef
32
33 define Build/Configure
34 $(call Build/Configure/Default)
35 endef
36
37 define Build/Compile
38 $(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" all install
39 endef
40
41 define Package/ps3-utils/install
42 $(INSTALL_DIR) $(1)/usr/sbin
43 $(INSTALL_DIR) $(1)/usr/bin
44 $(INSTALL_DIR) $(1)/usr/lib
45
46 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/ps3-boot-game-os $(1)/usr/sbin
47 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/ps3-dump-bootloader $(1)/usr/sbin
48 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/ps3-flash-util $(1)/usr/sbin
49 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ps3-video-mode $(1)/usr/bin
50
51 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libps3-utils.so.* $(1)/usr/lib
52 endef
53
54 $(eval $(call BuildPackage,ps3-utils))
This page took 0.045749 seconds and 5 git commands to generate.