summaryrefslogtreecommitdiffstats
path: root/rules/pyside.make
blob: f54ad48185574183e642ffe909d48fa298aa7342 (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
62
# -*-makefile-*-
#
# Copyright (C) 2011 by Michael Olbrich <m.olbrich@pengutronix.de>
#
# 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_PYSIDE) += pyside

#
# Paths and names
#
PYSIDE_VERSION	:= 4.8+1.1.1
PYSIDE_MD5	:= 0176d3746074afe47373d7302e1b4501
PYSIDE		:= pyside-qt$(PYSIDE_VERSION)
PYSIDE_SUFFIX	:= tar.bz2
PYSIDE_URL	:= https://distfiles.macports.org/py-pyside/$(PYSIDE).$(PYSIDE_SUFFIX)
PYSIDE_SOURCE	:= $(SRCDIR)/$(PYSIDE).$(PYSIDE_SUFFIX)
PYSIDE_DIR	:= $(BUILDDIR)/$(PYSIDE)
PYSIDE_LICENSE	:= unknown

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

#
# cmake
#
PYSIDE_CONF_TOOL	:= cmake
PYSIDE_CONF_OPT	= \
	$(CROSS_CMAKE_USR)

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

$(STATEDIR)/pyside.targetinstall:
	@$(call targetinfo)

	@$(call install_init, pyside)
	@$(call install_fixup, pyside,PRIORITY,optional)
	@$(call install_fixup, pyside,SECTION,base)
	@$(call install_fixup, pyside,AUTHOR,"Michael Olbrich <m.olbrich@pengutronix.de>")
	@$(call install_fixup, pyside,DESCRIPTION,missing)

	@$(call install_lib, pyside, 0, 0, 0644, \
		libpyside-python$(PYTHON_MAJORMINOR))
	@$(call install_tree, pyside, 0, 0, \
		$(PYSIDE_PKGDIR)/usr/lib/python$(PYTHON_MAJORMINOR)/site-packages/PySide, \
		/usr/lib/python$(PYTHON_MAJORMINOR)/site-packages/PySide)

	@$(call install_finish, pyside)

	@$(call touch)

# vim: syntax=make