summaryrefslogtreecommitdiffstats
path: root/rules/ps3-utils.make
blob: 5e48473eb6590b21c0970784910fe41d744e7409 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# -*-makefile-*-
#
# Copyright (C) 2009 by Remy Bohmer <linux@bohmer.net>
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
PACKAGES-$(PTXCONF_ARCH_PPC)-$(PTXCONF_PS3_UTILS) += ps3-utils

#
# Paths and names
#
PS3_UTILS_VERSION	:= 2.3
PS3_UTILS_MD5		:= 40ec16f4a7612c67c0ef5ea1828d1c7f
PS3_UTILS_LICENSE	:= GPL-2.0-only
PS3_UTILS		:= ps3-utils-$(PS3_UTILS_VERSION)
PS3_UTILS_SUFFIX	:= tar.gz
PS3_UTILS_URL		:= $(call ptx/mirror, KERNEL, kernel/people/geoff/cell/ps3-utils/$(PS3_UTILS).$(PS3_UTILS_SUFFIX))
PS3_UTILS_SOURCE	:= $(SRCDIR)/$(PS3_UTILS).$(PS3_UTILS_SUFFIX)
PS3_UTILS_DIR		:= $(BUILDDIR)/$(PS3_UTILS)

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

#
# autoconf
#
PS3_UTILS_AUTOCONF := $(CROSS_AUTOCONF_USR)

# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------

$(STATEDIR)/ps3-utils.targetinstall:
	@$(call targetinfo)

	@$(call install_init, ps3-utils)
	@$(call install_fixup, ps3-utils,PRIORITY,optional)
	@$(call install_fixup, ps3-utils,SECTION,base)
	@$(call install_fixup, ps3-utils,AUTHOR,"Remy Bohmer <linux@bohmer.net>")
	@$(call install_fixup, ps3-utils,DESCRIPTION,missing)

	@$(call install_lib, ps3-utils, 0, 0, 0644, libps3-utils)
	@$(call install_copy, ps3-utils, 0, 0, 0755, -, /usr/bin/ps3-video-mode)
	@$(call install_copy, ps3-utils, 0, 0, 0755, -, /usr/sbin/ps3-boot-game-os)
	@$(call install_copy, ps3-utils, 0, 0, 0755, -, /usr/sbin/ps3-dump-bootloader)
	@$(call install_copy, ps3-utils, 0, 0, 0755, -, /usr/sbin/ps3-flash-util)
	@$(call install_copy, ps3-utils, 0, 0, 0755, -, /usr/sbin/ps3-rtc-init)

	@$(call install_finish, ps3-utils)

	@$(call touch)

# vim: syntax=make