2 # Copyright (C) 2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
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
18 include $(INCLUDE_DIR)/package.mk
20 define Package/ps3-utils
23 TITLE:=PS3 Linux Utilities
25 URL:=http://kernel.org/pub/linux/kernel/people/geoff/cell/ps3-utils/
28 define Package/ps3-utils/description
29 The ps3-utils package is a set of system administration utilites for the
33 define Build/Configure
34 $(call Build/Configure/Default)
38 $(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" all install
41 define Package/ps3-utils/install
42 $(INSTALL_DIR) $(1)/usr/sbin
43 $(INSTALL_DIR) $(1)/usr/bin
44 $(INSTALL_DIR) $(1)/usr/lib
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
51 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libps3-utils.so.* $(1)/usr/lib
54 $(eval $(call BuildPackage,ps3-utils))